Skip to content

Commit c5f554d

Browse files
committed
Try to fix CI
1 parent 50b8e7a commit c5f554d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ruby/test_transcode.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2390,9 +2390,9 @@ def test_ractor_asciicompat_encoding_doesnt_exist
23902390
rs = []
23912391
NO_EXIST = "I".freeze
23922392
7.times do
2393-
rs << Ractor.new do
2393+
rs << Ractor.new(Encoding::Converter) do |conv|
23942394
500.times do
2395-
if (val = Encoding::Converter.asciicompat_encoding(NO_EXIST)) != nil
2395+
if (val = conv.asciicompat_encoding(NO_EXIST)) != nil
23962396
raise "Got #{val}, expected nil"
23972397
end
23982398
end

0 commit comments

Comments
 (0)