mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
[rubygems/rubygems] Use assert_raise instead of assert_raises
769e87f011
This commit is contained in:
parent
2c0072dec5
commit
c30594bb0c
Notes:
git
2021-05-12 17:25:21 +09:00
69 changed files with 410 additions and 410 deletions
|
@ -64,7 +64,7 @@ Gem x-2
|
|||
def test_execute_no_match
|
||||
@cmd.options[:args] = %w[foo]
|
||||
|
||||
assert_raises Gem::MockGemUi::TermError do
|
||||
assert_raise Gem::MockGemUi::TermError do
|
||||
use_ui @stub_ui do
|
||||
@cmd.execute
|
||||
end
|
||||
|
@ -155,7 +155,7 @@ Gem foo-2
|
|||
@cmd.options[:reverse_dependencies] = true
|
||||
@cmd.options[:domain] = :remote
|
||||
|
||||
assert_raises Gem::MockGemUi::TermError do
|
||||
assert_raise Gem::MockGemUi::TermError do
|
||||
use_ui @stub_ui do
|
||||
@cmd.execute
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue