diff options
Diffstat (limited to 'test/ruby/test_string_memory.rb')
-rw-r--r-- | test/ruby/test_string_memory.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_string_memory.rb b/test/ruby/test_string_memory.rb index d89a1695a4..3b4694f36f 100644 --- a/test/ruby/test_string_memory.rb +++ b/test/ruby/test_string_memory.rb @@ -24,7 +24,7 @@ class TestStringMemory < Test::Unit::TestCase end def test_byteslice_prefix - string = "a" * 100_000 + string = ("a" * 100_000).freeze allocations = capture_allocations(String) do string.byteslice(0, 50_000) |