summaryrefslogtreecommitdiff
path: root/test/stringio/test_stringio.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/stringio/test_stringio.rb')
-rw-r--r--test/stringio/test_stringio.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb
index cdb35e6acc..fee305e856 100644
--- a/test/stringio/test_stringio.rb
+++ b/test/stringio/test_stringio.rb
@@ -20,7 +20,7 @@ class TestStringIO < Test::Unit::TestCase
io.puts "abc"
io.truncate(0)
io.puts "def"
- assert_equal("\0\0\0def\n", io.string)
+ assert_equal("\0\0\0\0def\n", io.string)
end
def test_seek_beyond_eof # [ruby-dev:24194]