commit | 4731d0e6ab56c15f06c00505ccc0f22182a1d531 | [log] [tgz] |
---|---|---|
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | Sun Feb 10 16:36:01 2019 |
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | Sun Feb 10 16:36:01 2019 |
tree | 529e4efe0121f9d581ffe39d1ff06016ab4e103e | |
parent | 5e7aedf6859708d1be6fe961dac3811e986fa4c3 [diff] |
Print type of result
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 @@ } 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)