From d863be7cb629712e31f393e6ff34887fc0a541bc Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 22 Apr 2014 10:37:01 +0000 Subject: show what filesystem it is on failure git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 4 ++-- 1 file 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 -- cgit v1.2.3