We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50b8e7a commit c5f554dCopy full SHA for c5f554d
1 file changed
test/ruby/test_transcode.rb
@@ -2390,9 +2390,9 @@ def test_ractor_asciicompat_encoding_doesnt_exist
2390
rs = []
2391
NO_EXIST = "I".freeze
2392
7.times do
2393
- rs << Ractor.new do
+ rs << Ractor.new(Encoding::Converter) do |conv|
2394
500.times do
2395
- if (val = Encoding::Converter.asciicompat_encoding(NO_EXIST)) != nil
+ if (val = conv.asciicompat_encoding(NO_EXIST)) != nil
2396
raise "Got #{val}, expected nil"
2397
end
2398
0 commit comments