diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2022-02-01 16:32:38 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-02-22 11:55:40 +0900 |
| commit | f207f7a193dc4e55820e77388edefb5d8fde18d7 (patch) | |
| tree | 733841bdb334ec44deb69e8068b554fedf5ccbd7 /test/ruby/test_rubyoptions.rb | |
| parent | 36e31b09cddbadd6acc4becb83a8c4bddfb2af1f (diff) | |
Do not escape error message
[Feature #18367]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5516
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
| -rw-r--r-- | test/ruby/test_rubyoptions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 8839efd04a..4adb03edef 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -357,9 +357,9 @@ 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 \(-h will show valid options\) \(RuntimeError\)/) - assert_in_out_err(%W(-\x01), "", [], /invalid option -\\x01 \(-h will show valid options\) \(RuntimeError\)/) + assert_in_out_err(%W(-\x01), "", [], /invalid option -\x01 \(-h will show valid options\) \(RuntimeError\)/) assert_in_out_err(%w(-Z), "", [], /invalid option -Z \(-h will show valid options\) \(RuntimeError\)/) end |
