Skip to content

Commit 1f19959

Browse files
committed
Merge pull request #286 from y0za/fix-testing-message
Fix testing message at TestInsert and TestUpdate
2 parents 10876d7 + caab59f commit 1f19959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlite3_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func TestInsert(t *testing.T) {
168168
var result int
169169
rows.Scan(&result)
170170
if result != 123 {
171-
t.Errorf("Fetched %q; expected %q", 123, result)
171+
t.Errorf("Expected %d for fetched result, but %d:", 123, result)
172172
}
173173
}
174174

@@ -233,7 +233,7 @@ func TestUpdate(t *testing.T) {
233233
var result int
234234
rows.Scan(&result)
235235
if result != 234 {
236-
t.Errorf("Fetched %q; expected %q", 234, result)
236+
t.Errorf("Expected %d for fetched result, but %d:", 234, result)
237237
}
238238
}
239239

0 commit comments

Comments
 (0)