diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_io.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 5f62fe11bc..e5c8f99013 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1694,7 +1694,7 @@ class TestIO < Test::Unit::TestCase open(t.path) { |f| assert_equal("foo\n", f.gets) f.seek(0, IO::SEEK_DATA) - assert_equal("foo\nbar\nbaz\n", f.read) + assert_equal("foo\nbar\nbaz\n", f.read, "cannot SEEK_DATA at fs(#{f.statfs.type})") } open(t.path, 'r+') { |f| pos = f.pos @@ -1740,7 +1740,7 @@ class TestIO < Test::Unit::TestCase open(t.path) { |f| assert_equal("foo\n", f.gets) f.seek(0, :DATA) - assert_equal("foo\nbar\nbaz\n", f.read) + assert_equal("foo\nbar\nbaz\n", f.read, "cannot SEEK_DATA at fs(#{f.statfs.type})") } open(t.path, 'r+') { |f| pos = f.pos |