mirror of https://github.com/mattn/go-sqlite3.git
Print type of result
This commit is contained in:
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)
|
||||
|
|
Loading…
Reference in New Issue