From 5160b48509cf5c877bc22c11c373f8c7738cdb38 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 28 Sep 2017 13:00:20 +0900 Subject: [PATCH] fix test --- sqlite3_go18_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3_go18_test.go b/sqlite3_go18_test.go index 53dd6d4d..2662fcfd 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) }