[前][次][番号順一覧][スレッド一覧]

ruby-changes:26562

From: naruse <ko1@a...>
Date: Wed, 26 Dec 2012 06:45:55 +0900 (JST)
Subject: [ruby-changes:26562] naruse:r38613 (trunk): Fix argument for assert_in_out_err to fix test failure

naruse	2012-12-26 06:45:36 +0900 (Wed, 26 Dec 2012)

  New Revision: 38613

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38613

  Log:
    Fix argument for assert_in_out_err to fix test failure

  Modified files:
    trunk/test/ruby/test_rubyoptions.rb

Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 38612)
+++ test/ruby/test_rubyoptions.rb	(revision 38613)
@@ -521,7 +521,7 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L521
     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
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]