tests: Tell us which offset fails

This commit is contained in:
nick
2013-06-18 15:35:24 +01:00
parent cecf2ebc77
commit 197c1131bf

View File

@@ -70,7 +70,8 @@ class TestProxyMode < Test::Unit::TestCase
assert_equal 0, rsp[:error]
data = @env.file1.read(offset, 4096)
assert_equal( ( "\xFF" * 4096 ), data, "Data not written" )
assert_equal( ( "\xFF" * 4096 ), data, "Data not written correctly (offset is #{n})" )
end
end
end