[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
|
s.instance_variable_set :@version, v
|
||||||
end)
|
end)
|
||||||
|
|
||||||
assert_raises(ArgumentError) { Marshal.load(data) }
|
assert_raise(ArgumentError) { Marshal.load(data) }
|
||||||
out, err = capture_output do
|
out, err = capture_output do
|
||||||
assert_raises(ArgumentError) { Marshal.load(data) }
|
assert_raise(ArgumentError) { Marshal.load(data) }
|
||||||
end
|
end
|
||||||
assert_empty out
|
assert_empty out
|
||||||
assert_empty err
|
assert_empty err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user