diff options
Diffstat (limited to 'index_test.go')
| -rw-r--r-- | index_test.go | 3 |
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) } |
