From e89d48a1e6867916b4ddc0863885a6ce05a16b46 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 7 Mar 2016 15:44:34 +0000 Subject: * ruby.c (warn_cr_in_shebang): meaningless check on DOSISH platforms. fixed a test failure introduced at r53998. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_rubyoptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 012deebae7..6ee151e5e8 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -314,7 +314,7 @@ class TestRubyOptions < Test::Unit::TestCase assert_in_out_err([{'RUBYOPT' => nil}], "#!ruby -KU -Eutf-8\r\np \"\u3042\"\r\n", ["\"\u3042\""], /shebang line ends with \\r/, - encoding: Encoding::UTF_8) + encoding: Encoding::UTF_8) if /mswin|mingw/ !~ RUBY_PLATFORM bug4118 = '[ruby-dev:42680]' assert_in_out_err(%w[], "#!/bin/sh\n""#!shebang\n""#!ruby\n""puts __LINE__\n", -- cgit v1.2.3