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

ruby-changes:29742

From: usa <ko1@a...>
Date: Fri, 5 Jul 2013 16:53:15 +0900 (JST)
Subject: [ruby-changes:29742] usa:r41794 (trunk): * test/ruby/test_rubyoptions.rb: typo in r41791.

usa	2013-07-05 16:53:03 +0900 (Fri, 05 Jul 2013)

  New Revision: 41794

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

  Log:
    * test/ruby/test_rubyoptions.rb: typo in r41791.

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

Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 41793)
+++ test/ruby/test_rubyoptions.rb	(revision 41794)
@@ -414,7 +414,7 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L414
     bug1573 = '[ruby-core:23717]'
     assert_file.not_exist?(notexist)
     assert_in_out_err(["-r", notexist, "-ep"], "", [], /.* -- #{pat} \(LoadError\)/, bug1573)
-    rubybin.gsub!(%r(/), '\\') if /mswin|mingw/ =~ RUBY_PLATFORM
+    rubybin.gsub!(%r(/), '\\\\') if /mswin|mingw/ =~ RUBY_PLATFORM
     assert_in_out_err([notexist], "", [], /#{rubybin}:.* -- #{pat} \(LoadError\)/, bug1573)
   end
 

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

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