forked from mirror/go-sqlite3
fix tests
This commit is contained in:
parent
167173a31f
commit
59f20de728
|
@ -83,7 +83,7 @@ func TestFTS3(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestFTS4(t *testing.T) {
|
func TestFTS4(t *testing.T) {
|
||||||
tempFilename := TempFilename()
|
tempFilename := TempFilename(t)
|
||||||
db, err := sql.Open("sqlite3", tempFilename)
|
db, err := sql.Open("sqlite3", tempFilename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal("Failed to open database:", err)
|
t.Fatal("Failed to open database:", err)
|
||||||
|
|
|
@ -13,7 +13,6 @@ import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -796,7 +795,7 @@ func TestTimezoneConversion(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSuite(t *testing.T) {
|
func TestSuite(t *testing.T) {
|
||||||
tempFilename := TempFilename()
|
tempFilename := TempFilename(t)
|
||||||
db, err := sql.Open("sqlite3", tempFilename+"?_busy_timeout=99999")
|
db, err := sql.Open("sqlite3", tempFilename+"?_busy_timeout=99999")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
|
Loading…
Reference in New Issue