diff options
Diffstat (limited to 'test/stringio')
-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 d022c10fad..8f0dc8702c 100644 --- a/test/stringio/test_stringio.rb +++ b/test/stringio/test_stringio.rb @@ -252,11 +252,11 @@ class TestStringIO < Test::Unit::TestCase f = StringIO.new("foo\nbar\nbaz\n") assert_equal("foo\n", f.gets) f.reopen("qux\nquux\nquuux\n") - assert_equal("quux\n", f.gets) + assert_equal("qux\n", f.gets) f2 = StringIO.new("") f2.reopen(f) - assert_equal("quuux\n", f2.gets) + assert_equal("quux\n", f2.gets) ensure f.close unless f.closed? end |