1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/ruby/test_rubyoptions.rb: Make it pass on Windows

This commit is contained in:
Yusuke Endoh 2022-02-02 15:08:59 +09:00
parent 98ca99cdd0
commit 89e446683e
Notes: git 2022-02-22 11:56:15 +09:00

View file

@ -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\)/)