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:
@ -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)
|
||||
|
Reference in New Issue
Block a user