1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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\]/.
```
This commit is contained in:
Kazuhiro NISHIYAMA 2021-02-16 18:17:09 +09:00
parent 4dfc5496b7
commit 1a84c07715
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -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