Skip to content

Commit

Permalink
[rubygems/rubygems] Use assert_raise instead of assert_raises
Browse files Browse the repository at this point in the history
For ruby-core compat

rubygems/rubygems@c8f85c91a8
  • Loading branch information
segiddins authored and matzbot committed Feb 22, 2023
1 parent 931db21 commit ae5deb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_commands_exec_command.rb
Expand Up @@ -756,7 +756,7 @@ def test_only_prerelease_available
end

use_ui @ui do
assert_raises Gem::MockGemUi::TermError do
assert_raise Gem::MockGemUi::TermError do
invoke "a"
end
assert_equal "ERROR: Could not find a valid gem 'a' (>= 0) in any repository\n" +
Expand Down

0 comments on commit ae5deb1

Please sign in to comment.