summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2023-07-16 16:50:13 +0900
committernagachika <nagachika@ruby-lang.org>2023-07-16 16:50:13 +0900
commitc911cbd6c3dcc80def61ab48be1815cd910fc91b (patch)
tree6452bdc21016c05c9cc21a5dbbac069e70315a59 /test/ruby
parent5ad2390b551f4a28ea3d4db78c21863489fdd681 (diff)
merge revision(s) bd786e78969f9d4a8699376ceafe10934b6ad533: [Backport #19084]
Fix mutation on shared strings. (#7837) --- io_buffer.c | 19 ++++++++++++------- test/ruby/test_io_buffer.rb | 4 ---- 2 files changed, 12 insertions(+), 11 deletions(-)
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_io_buffer.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/ruby/test_io_buffer.rb b/test/ruby/test_io_buffer.rb
index 45813256e4..a0949a54f2 100644
--- a/test/ruby/test_io_buffer.rb
+++ b/test/ruby/test_io_buffer.rb
@@ -348,10 +348,6 @@ class TestIOBuffer < Test::Unit::TestCase
end
def test_read
- # This is currently a bug in IO:Buffer [#19084] which affects extended
- # strings. On 32 bit machines, the example below becomes extended, so
- # we omit this test until the bug is fixed.
- omit if GC::INTERNAL_CONSTANTS[:SIZE_POOL_COUNT] == 1
io = Tempfile.new
io.write("Hello World")
io.seek(0)