summaryrefslogtreecommitdiff
path: root/test/stringio/test_ractor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/stringio/test_ractor.rb')
-rw-r--r--test/stringio/test_ractor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stringio/test_ractor.rb b/test/stringio/test_ractor.rb
index 1c334e2c3f..4a2033bc1f 100644
--- a/test/stringio/test_ractor.rb
+++ b/test/stringio/test_ractor.rb
@@ -11,7 +11,7 @@ class TestStringIOInRactor < Test::Unit::TestCase
require "stringio"
$VERBOSE = nil
r = Ractor.new do
- io = StringIO.new("")
+ io = StringIO.new(+"")
io.puts "abc"
io.truncate(0)
io.puts "def"