diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-02-16 18:17:09 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-02-16 18:17:09 +0900 |
commit | 1a84c07715413bc9bf250178f174fac0db240db9 (patch) | |
tree | 37f12b6ca72e4addd8c647a802f1d9079c49fac6 /test/ruby/test_encoding.rb | |
parent | 4dfc5496b7b64a063b36cbabe95b43abe9fb48cd (diff) |
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\]/.
```
Diffstat (limited to 'test/ruby/test_encoding.rb')
-rw-r--r-- | test/ruby/test_encoding.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |