forked from mirror/go-sqlite3
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)
|
s, ok := x.(string)
|
||||||
if !ok {
|
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" {
|
if s != "hello" {
|
||||||
t.Fatalf("non-column string must return %q but got %q", "hello", s)
|
t.Fatalf("non-column string must return %q but got %q", "hello", s)
|
||||||
|
|
Loading…
Reference in New Issue