summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-22 10:37:01 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-22 10:37:01 +0000
commitd863be7cb629712e31f393e6ff34887fc0a541bc (patch)
treeb504bbe5ce418ddf3fc5e240789efad05c1c7248 /test
parent035a4e7d724888373382948d246d9ce87da2b247 (diff)
show what filesystem it is on failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_io.rb4
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