From 4731d0e6ab56c15f06c00505ccc0f22182a1d531 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 11 Feb 2019 01:36:01 +0900 Subject: [PATCH] Print type of result --- sqlite3_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3_test.go b/sqlite3_test.go index 28b3c96..3ef8533 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -1683,7 +1683,7 @@ func TestNonColumnString(t *testing.T) { } s, ok := x.(string) if !ok { - t.Fatal("non-column string must return string") + t.Fatalf("non-column string must return string but got %T", x) } if s != "hello" { t.Fatalf("non-column string must return %q but got %q", "hello", s)