mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
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.
This commit is contained in:
parent
4e03d56e21
commit
09d8c99cdc
30 changed files with 159 additions and 147 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue