diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-09-28 13:00:20 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-09-28 13:00:20 +0900 |
commit | 5160b48509cf5c877bc22c11c373f8c7738cdb38 (patch) | |
tree | 4c274ae7d632a74a7c147d1026ef81e4f1455c80 /sqlite3_go18_test.go | |
parent | remove rows.Close() in TestShortTimeout (diff) | |
download | golite-5160b48509cf5c877bc22c11c373f8c7738cdb38.tar.gz golite-5160b48509cf5c877bc22c11c373f8c7738cdb38.tar.xz |
fix test
Diffstat (limited to 'sqlite3_go18_test.go')
-rw-r--r-- | sqlite3_go18_test.go | 2 |
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) } |