diff options
author | Yusuke Endoh <[email protected]> | 2022-02-01 16:32:38 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2022-02-22 11:55:40 +0900 |
commit | f207f7a193dc4e55820e77388edefb5d8fde18d7 (patch) | |
tree | 733841bdb334ec44deb69e8068b554fedf5ccbd7 /test/ruby/test_exception.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_exception.rb')
-rw-r--r-- | test/ruby/test_exception.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index 306ef200c5..0a0af390ca 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -991,11 +991,12 @@ $stderr = $stdout; raise "\x82\xa0"') do |outs, errs, status| end assert_not_nil(e) assert_include(e.message, "\0") - assert_in_out_err([], src, [], [], *args, **opts) do |_, err,| - err.each do |e| - assert_not_include(e, "\0") - end - end + # Disabled by [Feature #18367] + #assert_in_out_err([], src, [], [], *args, **opts) do |_, err,| + # err.each do |e| + # assert_not_include(e, "\0") + # end + #end e end |