summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-01-06 15:07:39 +0100
committerBenoit Daloze <eregontp@gmail.com>2023-01-11 13:41:41 +0100
commit6abe20e87b74a5a672dc59f72fa1f550ceab430c (patch)
tree85ea11a007e23327cfd83e0fb3f29f92767b8ee3 /bootstraptest
parentd831b1d5cef23593c94d80240b836fd2038aa685 (diff)
Remove Encoding#replicate
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7079
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_ractor.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb
index e7103d975f..459ba260e9 100644
--- a/bootstraptest/test_ractor.rb
+++ b/bootstraptest/test_ractor.rb
@@ -1474,21 +1474,6 @@ assert_equal "#{N}#{N}", %Q{
}.map{|r| r.take}.join
}
-# enc_table
-assert_equal "100", %Q{
- Ractor.new do
- loop do
- Encoding.find("test-enc-#{rand(5_000)}").inspect
- rescue ArgumentError => e
- end
- end
-
- src = Encoding.find("UTF-8")
- 100.times{|i|
- src.replicate("test-enc-\#{i}")
- }
-}
-
# Generic ivtbl
n = N/2
assert_equal "#{n}#{n}", %Q{