aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-02-11 01:36:01 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-02-11 01:36:01 +0900
commit4731d0e6ab56c15f06c00505ccc0f22182a1d531 (patch)
tree529e4efe0121f9d581ffe39d1ff06016ab4e103e
parentAdd test (diff)
downloadgolite-4731d0e6ab56c15f06c00505ccc0f22182a1d531.tar.gz
golite-4731d0e6ab56c15f06c00505ccc0f22182a1d531.tar.xz
Print type of result
-rw-r--r--sqlite3_test.go2
1 files changed, 1 insertions, 1 deletions
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)