summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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