fix tests

This commit is contained in:
Yasuhiro Matsumoto 2015-11-02 11:56:49 +09:00
parent 167173a31f
commit 59f20de728
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -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)