Skip to content

Commit 82cf3af

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/ruby/test_transcode.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2391,8 +2391,9 @@ def test_ractor_asciicompat_encoding_doesnt_exist
23912391
NO_EXIST = "I".freeze
23922392
7.times do
23932393
rs << Ractor.new do
2394+
no_exist = NO_EXIST.dup
23942395
500.times do
2395-
if (val = Encoding::Converter.asciicompat_encoding(NO_EXIST)) != nil
2396+
if (val = Encoding::Converter.asciicompat_encoding(no_exist))
23962397
raise "Got #{val}, expected nil"
23972398
end
23982399
end

0 commit comments

Comments
 (0)