mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix failure on r58981
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
be701dc57f
commit
648e0a9775
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ class TestRubyOptions < Test::Unit::TestCase
|
|||
assert_in_out_err([], "#! /test_r_u_b_y_test_r_u_b_y_options_foobarbazqux -foo -bar\r\np 1\r\n",
|
||||
[], /: no Ruby script found in input/)
|
||||
|
||||
warning = /mswin|mingw/ =~ RUBY_PLATFORM ? [] : /shebang line ends with \\r/
|
||||
warning = /mswin|mingw/ =~ RUBY_PLATFORM ? [] : /shebang line ending with \\r/
|
||||
assert_in_out_err([{'RUBYOPT' => nil}], "#!ruby -KU -Eutf-8\r\np \"\u3042\"\r\n",
|
||||
["\"\u3042\""], warning,
|
||||
encoding: Encoding::UTF_8)
|
||||
|
|
Loading…
Reference in a new issue