diff options
-rw-r--r-- | test/stringio/test_stringio.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb index a00e7b8500..ffaa2efa0a 100644 --- a/test/stringio/test_stringio.rb +++ b/test/stringio/test_stringio.rb @@ -21,8 +21,8 @@ class TestStringIO < Test::Unit::TestCase # In this case, we must use eval because we need two strings literals that # are long enough they cannot be embedded, but also contain the same bytes. - a = eval(("x" * 1024).dump) - b = eval(("x" * 1024).dump) + a = eval("+"+("x" * 1024).dump) + b = eval("+"+("x" * 1024).dump) s = StringIO.new(b) s.getc |