mirror of https://github.com/mattn/go-sqlite3.git
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) {
|
||||
tempFilename := TempFilename()
|
||||
tempFilename := TempFilename(t)
|
||||
db, err := sql.Open("sqlite3", tempFilename)
|
||||
if err != nil {
|
||||
t.Fatal("Failed to open database:", err)
|
||||
|
|
|
@ -13,7 +13,6 @@ import (
|
|||
"io/ioutil"
|
||||
"net/url"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"reflect"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
@ -796,7 +795,7 @@ func TestTimezoneConversion(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestSuite(t *testing.T) {
|
||||
tempFilename := TempFilename()
|
||||
tempFilename := TempFilename(t)
|
||||
db, err := sql.Open("sqlite3", tempFilename+"?_busy_timeout=99999")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
Loading…
Reference in New Issue