aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3_test.go')
-rw-r--r--sqlite3_test.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/sqlite3_test.go b/sqlite3_test.go
index 55536e8..bcbba44 100644
--- a/sqlite3_test.go
+++ b/sqlite3_test.go
@@ -1,6 +1,7 @@
package sqlite3
import (
+ "./sqltest"
"crypto/rand"
"database/sql"
"encoding/hex"
@@ -626,6 +627,16 @@ func TestWAL(t *testing.T) {
}
}
+func TestSuite(t *testing.T) {
+ db, err := sql.Open("sqlite3", ":memory:")
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer db.Close()
+
+ sqltest.RunTests(t, db, sqltest.SQLITE)
+}
+
// TODO: Execer & Queryer currently disabled
// https://github.com/mattn/go-sqlite3/issues/82
//func TestExecer(t *testing.T) {