summaryrefslogtreecommitdiff
path: root/index_test.go
diff options
context:
space:
mode:
authortaylorchu <[email protected]>2015-05-30 22:27:08 +0200
committerCarlos Martín Nieto <[email protected]>2015-05-30 22:27:08 +0200
commit53c158fbd7e5f4dac787f5c3a7107fcb4116f676 (patch)
treeee98007a87f3b9bd371af020d47946989d0fd628 /index_test.go
parent35ff0de8559ed987ff82b025cc2bb5983f29e559 (diff)
Fix test error messages
Diffstat (limited to 'index_test.go')
-rw-r--r--index_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/index_test.go b/index_test.go
index 9283b83..7c65f4f 100644
--- a/index_test.go
+++ b/index_test.go
@@ -188,8 +188,7 @@ func checkFatal(t *testing.T, err error) {
// The failure happens at wherever we were called, not here
_, file, line, ok := runtime.Caller(1)
if !ok {
- t.Fatal()
+ t.Fatalf("Unable to get caller")
}
-
t.Fatalf("Fail at %v:%v; %v", file, line, err)
}