diff options
| author | John Hawthorn <john@hawthorn.email> | 2025-07-03 20:52:33 -0700 |
|---|---|---|
| committer | John Hawthorn <john@hawthorn.email> | 2025-07-03 21:39:10 -0700 |
| commit | 24ac9f11dedcf1b1003000dcb25774b0a3bc38a7 (patch) | |
| tree | fc9b8e3bed7e7ba31ca8d8b950661deb1e4abb6b /test/ruby | |
| parent | 50704fe8e6e5b75b5d0d4544247cdabf7c8411ea (diff) | |
Revert "Add locks around accesses/modifications to global encodings table"
This reverts commit cf4d37fbc079116453e69cf08ea8007d0e1c73e6.
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_encoding.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/ruby/test_encoding.rb b/test/ruby/test_encoding.rb index ae4e4a7cf7..0ab357f53a 100644 --- a/test/ruby/test_encoding.rb +++ b/test/ruby/test_encoding.rb @@ -136,22 +136,4 @@ class TestEncoding < Test::Unit::TestCase assert "[Bug #19562]" end; end - - def test_ractor_force_encoding_parallel - assert_ractor("#{<<~"begin;"}\n#{<<~'end;'}") - begin; - $-w = nil - rs = [] - 100.times do - rs << Ractor.new do - "abc".force_encoding(Encoding.list.shuffle.first) - end - end - while rs.any? - r, _obj = Ractor.select(*rs) - rs.delete(r) - end - assert rs.empty? - end; - end end |
