From c3992aa40cdd74d91f18f8633ee96ec48bb5ee64 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 25 Dec 2012 21:45:36 +0000 Subject: [PATCH] Fix argument for assert_in_out_err to fix test failure git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_rubyoptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 2b689546ee..109d0aa541 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -521,7 +521,7 @@ class TestRubyOptions < Test::Unit::TestCase t = Tempfile.new(["test_ruby_test_bug7597", ".rb"]) t.write "f" * 100 t.flush - assert_in_out_err("-e'$0=$stdin.read; Process.kill :SEGV, $$'", t.path, [], expected_stderr, bug7597) + assert_in_out_err(["-e", "$0=$stdin.read; Process.kill :SEGV, $$"], t.path, [], expected_stderr, bug7597) t.close end