ruby-changes:66143
From: Takashi <ko1@a...>
Date: Tue, 11 May 2021 14:46:54 +0900 (JST)
Subject: [ruby-changes:66143] 66ca6ede16 (master): [ruby/irb] Skip test_raise_exception_with_invalid_byte_sequence
https://git.ruby-lang.org/ruby.git/commit/?id=66ca6ede16 From 66ca6ede16b675d1d61ff099966235db9d26fd85 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Mon, 10 May 2021 22:45:29 -0700 Subject: [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 --- test/irb/test_raise_no_backtrace_exception.rb | 4 ++-- 1 file 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 179c6c4..d4ca50a 100644 --- a/test/irb/test_raise_no_backtrace_exception.rb +++ b/test/irb/test_raise_no_backtrace_exception.rb @@ -15,9 +15,9 @@ IRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_raise_no_backtrace_exception.rb#L15 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 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/