From cded6d995ed1c19f92c82b7318920d80f6ffd5ae Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 13 Mar 2024 12:50:11 +0100 Subject: [PATCH] Ensure test suite is compatible with --frozen-string-literal As preparation for https://bugs.ruby-lang.org/issues/20205 making sure the test suite is compatible with frozen string literals is making things easier. --- test/stringio/test_ractor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/stringio/test_ractor.rb b/test/stringio/test_ractor.rb index 1c334e2c..4a2033bc 100644 --- a/test/stringio/test_ractor.rb +++ b/test/stringio/test_ractor.rb @@ -11,7 +11,7 @@ def test_ractor require "stringio" $VERBOSE = nil r = Ractor.new do - io = StringIO.new("") + io = StringIO.new(+"") io.puts "abc" io.truncate(0) io.puts "def"