diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-02-11 01:36:01 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-02-11 01:36:01 +0900 |
commit | 4731d0e6ab56c15f06c00505ccc0f22182a1d531 (patch) | |
tree | 529e4efe0121f9d581ffe39d1ff06016ab4e103e | |
parent | Add test (diff) | |
download | golite-4731d0e6ab56c15f06c00505ccc0f22182a1d531.tar.gz golite-4731d0e6ab56c15f06c00505ccc0f22182a1d531.tar.xz |
Print type of result
-rw-r--r-- | sqlite3_test.go | 2 |
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) |