aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sqlite3_go18_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite3_go18_test.go b/sqlite3_go18_test.go
index 53dd6d4..2662fcf 100644
--- a/sqlite3_go18_test.go
+++ b/sqlite3_go18_test.go
@@ -126,7 +126,7 @@ func TestShortTimeout(t *testing.T) {
query := `SELECT key1, key_id, key2, key3, key4, key5, key6, data
FROM test_table
ORDER BY key2 ASC`
- rows, err := db.QueryContext(ctx, query)
+ _, err = db.QueryContext(ctx, query)
if err != nil && err != context.DeadlineExceeded {
t.Fatal(err)
}