diff options
author | Lars Buitinck <l.buitinck@esciencecenter.nl> | 2015-06-05 16:02:14 +0200 |
---|---|---|
committer | Lars Buitinck <l.buitinck@esciencecenter.nl> | 2015-06-05 16:38:51 +0200 |
commit | cebbf42ff60a87f038ef03b3c5734817d41ef0d6 (patch) | |
tree | c8c7a0926edc94d8d1b488c92811fcff74455713 /sqlite3_fts3_test.go | |
parent | remove -lpthread. related issue #201 (diff) | |
download | golite-cebbf42ff60a87f038ef03b3c5734817d41ef0d6.tar.gz golite-cebbf42ff60a87f038ef03b3c5734817d41ef0d6.tar.xz |
Get reliable tempfile names from ioutil.TempFile
Also makes them easier to spot (the tests tend to litter /tmp).
Diffstat (limited to 'sqlite3_fts3_test.go')
-rw-r--r-- | sqlite3_fts3_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite3_fts3_test.go b/sqlite3_fts3_test.go index a1cd217..716a106 100644 --- a/sqlite3_fts3_test.go +++ b/sqlite3_fts3_test.go @@ -12,7 +12,7 @@ import ( ) func TestFTS3(t *testing.T) { - tempFilename := TempFilename() + tempFilename := TempFilename(t) db, err := sql.Open("sqlite3", tempFilename) if err != nil { t.Fatal("Failed to open database:", err) |