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