func TestSuite(t *testing.T) { db, err := sql.Open("sqlite3", ":memory:") if err != nil { t.Fatal(err) } defer db.Close() sqlite3_test.RunTests(t, db, sqlite3_test.SQLITE) }
func TestSuite(t *testing.T) { tempFilename := TempFilename() db, err := sql.Open("sqlite3", tempFilename+"?_busy_timeout=99999") if err != nil { t.Fatal(err) } defer os.Remove(tempFilename) defer db.Close() sqlite3_test.RunTests(t, db, sqlite3_test.SQLITE) }