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