aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_marshal.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb
index 49a8511e8e..3d7ce7d9e4 100644
--- a/test/ruby/test_marshal.rb
+++ b/test/ruby/test_marshal.rb
@@ -723,10 +723,6 @@ class TestMarshal < Test::Unit::TestCase
crash = "\x04\be:\x0F\x00omparableo:\vObject\x00"
opt = %w[--disable=gems]
- args = [opt, "Marshal.load(#{crash.dump})", true, true]
- out, err, status = EnvUtil.invoke_ruby(*args)
-
- assert_empty err
- assert_predicate(status, :success?)
+ assert_ruby_status(opt, "Marshal.load(#{crash.dump})")
end
end