aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 1bd005440d..012deebae7 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -313,7 +313,7 @@ class TestRubyOptions < Test::Unit::TestCase
[], /: no Ruby script found in input/)
assert_in_out_err([{'RUBYOPT' => nil}], "#!ruby -KU -Eutf-8\r\np \"\u3042\"\r\n",
- ["\"\u3042\""], [],
+ ["\"\u3042\""], /shebang line ends with \\r/,
encoding: Encoding::UTF_8)
bug4118 = '[ruby-dev:42680]'