0
0
mirror of https://github.com/mattn/go-sqlite3.git synced 2025-06-09 06:19:24 +00:00

Print type of result

This commit is contained in:
Yasuhiro Matsumoto
2019-02-11 01:36:01 +09:00
parent 5e7aedf685
commit 4731d0e6ab

@ -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)