ruby-changes:65269
From: Kazuhiro <ko1@a...>
Date: Tue, 16 Feb 2021 18:17:48 +0900 (JST)
Subject: [ruby-changes:65269] 1a84c07715 (master): Fix a failure
https://git.ruby-lang.org/ruby.git/commit/?id=1a84c07715 From 1a84c07715413bc9bf250178f174fac0db240db9 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Tue, 16 Feb 2021 18:17:09 +0900 Subject: Fix a failure http://ci.rvm.jp/results/trunk-test@ruby-sky1/3359644 ``` : 1) : TestEncoding#test_nonascii_library_path [/tmp/ruby/v3/src/trunk-test/test/ruby/test_encoding.rb:157]: : Exception(LoadError) with message matches to /\[Bug #16382\]/. ``` --- test/ruby/test_encoding.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_encoding.rb b/test/ruby/test_encoding.rb index 2965c0b..4a6dd93 100644 --- a/test/ruby/test_encoding.rb +++ b/test/ruby/test_encoding.rb @@ -155,7 +155,7 @@ class TestEncoding < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_encoding.rb#L155 assert_equal(Encoding::US_ASCII, __ENCODING__) $:.unshift("/\x80") assert_raise_with_message(LoadError, /\[Bug #16382\]/) do - $:.resolve_feature_path "[Bug #16382]" + require "[Bug #16382]" end end; end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/