[rubygems/rubygems] Use assert_raise instead of assert_raises
For ruby-core compat https://github.com/rubygems/rubygems/commit/83aa7b794e
This commit is contained in:
parent
1935433f5f
commit
b68be40e24
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user