mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
9d93d4df6f
commit
738fee09de
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Jul 5 12:14:40 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* lib/test/unit/assertions.rb (assert_raise_with_message): move from
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue