ruby-changes:46868
From: ko1 <ko1@a...>
Date: Thu, 1 Jun 2017 13:48:10 +0900 (JST)
Subject: [ruby-changes:46868] ko1:r58983 (trunk): fix failure on r58981
ko1 2017-06-01 13:48:05 +0900 (Thu, 01 Jun 2017) New Revision: 58983 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58983 Log: fix failure on r58981 Modified files: trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 58982) +++ test/ruby/test_rubyoptions.rb (revision 58983) @@ -326,7 +326,7 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L326 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/