summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2023-02-14 10:28:22 -0800
committergit <svn-admin@ruby-lang.org>2023-02-22 08:42:19 +0000
commitae5deb1ebc5b9cdd1e137e7b78c89e55348dd2ba (patch)
tree595bf8e4fb98683f9206fec1052cfa58b5a32a8a /test
parent931db2120844760a1c1c5c5d6253b558f8034124 (diff)
[rubygems/rubygems] Use assert_raise instead of assert_raises
For ruby-core compat https://github.com/rubygems/rubygems/commit/c8f85c91a8
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_commands_exec_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_exec_command.rb b/test/rubygems/test_gem_commands_exec_command.rb
index e5afc7de37..6fe241ff34 100644
--- a/test/rubygems/test_gem_commands_exec_command.rb
+++ b/test/rubygems/test_gem_commands_exec_command.rb
@@ -756,7 +756,7 @@ class TestGemCommandsExecCommand < Gem::TestCase
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" +