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

ruby-changes:29739

From: usa <ko1@a...>
Date: Fri, 5 Jul 2013 12:16:31 +0900 (JST)
Subject: [ruby-changes:29739] usa:r41791 (trunk): * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_notfound): after

usa	2013-07-05 12:16:19 +0900 (Fri, 05 Jul 2013)

  New Revision: 41791

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

  Log:
    * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_notfound): after
      r41710, the path of command uses backslash as the separator on
      Windows.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41790)
+++ ChangeLog	(revision 41791)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jul  5 12:14:40 2013  NAKAMURA Usaku  <usa@r...>
+
+	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_notfound): after
+	  r41710, the path of command uses backslash as the separator on
+	  Windows.
+
 Fri Jul  5 11:29:47 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/test/unit/assertions.rb (assert_raise_with_message): move from
Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 41790)
+++ test/ruby/test_rubyoptions.rb	(revision 41791)
@@ -414,6 +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
     assert_in_out_err([notexist], "", [], /#{rubybin}:.* -- #{pat} \(LoadError\)/, bug1573)
   end
 

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

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