diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2022-02-02 15:08:59 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-02-22 11:55:40 +0900 |
commit | 89e446683e19fa77e2e0dec6396d4c4c09f36fab (patch) | |
tree | 61b6417e00a36fb095860fc09c65f1a065aa0520 /test/ruby | |
parent | 98ca99cdd090d17b7ec11e0c6f40936a728165a5 (diff) |
test/ruby/test_rubyoptions.rb: Make it pass on Windows
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5516
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 4adb03edef..b7dfbd25c4 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -357,7 +357,7 @@ class TestRubyOptions < Test::Unit::TestCase assert_in_out_err(%W(-\r -e) + [""], "", [], []) - assert_in_out_err(%W(-\rx), "", [], /invalid option -\r \(-h will show valid options\) \(RuntimeError\)/) + assert_in_out_err(%W(-\rx), "", [], /invalid option -[\r\n] \(-h will show valid options\) \(RuntimeError\)/) assert_in_out_err(%W(-\x01), "", [], /invalid option -\x01 \(-h will show valid options\) \(RuntimeError\)/) |