diff options
author | Takashi Kokubun <[email protected]> | 2021-05-10 22:45:29 -0700 |
---|---|---|
committer | git <[email protected]> | 2021-05-11 14:46:33 +0900 |
commit | 66ca6ede16b675d1d61ff099966235db9d26fd85 (patch) | |
tree | 4073601a24ddf64a8b6b8355e7572d4b96329b92 | |
parent | afa70d079f0eebc25fc10afe0ce69dd01bb9132b (diff) |
[ruby/irb] Skip test_raise_exception_with_invalid_byte_sequence
on Windows for now. It seems like we haven't figured this out yet.
https://github.com/ruby/irb/commit/ecf5a1ace1
-rw-r--r-- | test/irb/test_raise_no_backtrace_exception.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/irb/test_raise_no_backtrace_exception.rb b/test/irb/test_raise_no_backtrace_exception.rb index 179c6c470e..d4ca50a856 100644 --- a/test/irb/test_raise_no_backtrace_exception.rb +++ b/test/irb/test_raise_no_backtrace_exception.rb @@ -15,9 +15,9 @@ IRB end def test_raise_exception_with_invalid_byte_sequence - skip if RUBY_ENGINE == 'truffleruby' + skip if RUBY_ENGINE == 'truffleruby' || /mswin|mingw/ =~ RUBY_PLATFORM bundle_exec = ENV.key?('BUNDLE_GEMFILE') ? ['-rbundler/setup'] : [] - assert_in_out_err(bundle_exec + %w[-rirb -W0 -e IRB.start(__FILE__) -- -f --], <<~IRB, /A\\xF3B \(StandardError\)/, [], encoding: "UTF-8") + assert_in_out_err(bundle_exec + %w[-rirb -W0 -e IRB.start(__FILE__) -- -f --], <<~IRB, /A\\xF3B \(StandardError\)/, []) raise StandardError, "A\\xf3B" IRB end |