Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4731d0e

Browse files
committed
Print type of result
1 parent 5e7aedf commit 4731d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎sqlite3_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ func TestNonColumnString(t *testing.T) {
16831683
}
16841684
s, ok := x.(string)
16851685
if !ok {
1686-
t.Fatal("non-column string must return string")
1686+
t.Fatalf("non-column string must return string but got %T", x)
16871687
}
16881688
if s != "hello" {
16891689
t.Fatalf("non-column string must return %q but got %q", "hello", s)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /