summaryrefslogtreecommitdiff
path: root/test/ruby/test_encoding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_encoding.rb')
-rw-r--r--test/ruby/test_encoding.rb18
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