summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2023-08-17 15:47:46 -0700
committergit <svn-admin@ruby-lang.org>2023-08-20 09:05:23 +0000
commitb68be40e245399b00988d254bc83c04cb045b713 (patch)
treea396e498b6bb58ac0f7ae590ca7d4a838a5ad923
parent1935433f5f6fecc786955dcf80e8f65ada6bcaeb (diff)
[rubygems/rubygems] Use assert_raise instead of assert_raises
For ruby-core compat https://github.com/rubygems/rubygems/commit/83aa7b794e
-rw-r--r--test/rubygems/test_gem_specification.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index d37e1d1571..25b72c587f 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -1103,9 +1103,9 @@ dependencies: []
s.instance_variable_set :@version, v
end)
- assert_raises(ArgumentError) { Marshal.load(data) }
+ assert_raise(ArgumentError) { Marshal.load(data) }
out, err = capture_output do
- assert_raises(ArgumentError) { Marshal.load(data) }
+ assert_raise(ArgumentError) { Marshal.load(data) }
end
assert_empty out
assert_empty err