Print type of result

fix-688
Yasuhiro Matsumoto 2019-02-11 01:36:01 +09:00
parent 5e7aedf685
commit 4731d0e6ab
No known key found for this signature in database
GPG Key ID: 622DE34DC490584B
1 changed files with 1 additions and 1 deletions

View File

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