diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-05 03:16:19 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-05 03:16:19 +0000 |
commit | 738fee09de8034da66754fc7cc0e8044f5e1069f (patch) | |
tree | 507cd079688c4e946eedc957f06af1e3904dd87a /test | |
parent | 9d93d4df6f22fba2c2d48cbdf594fcad3682fed3 (diff) | |
download | ruby-738fee09de8034da66754fc7cc0e8044f5e1069f.tar.gz |
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_notfound): after
r41710, the path of command uses backslash as the separator on
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 486b68654d..9db834b30d 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -414,6 +414,7 @@ class TestRubyOptions < Test::Unit::TestCase 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 |