From 1a84c07715413bc9bf250178f174fac0db240db9 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA 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(-) (limited to 'test/ruby/test_encoding.rb') diff --git a/test/ruby/test_encoding.rb b/test/ruby/test_encoding.rb index 2965c0bc7b..4a6dd932ed 100644 --- a/test/ruby/test_encoding.rb +++ b/test/ruby/test_encoding.rb @@ -155,7 +155,7 @@ class TestEncoding < Test::Unit::TestCase 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.2.3