test(outputs.sql): Fix clean up of sql database file (#13918)
This commit is contained in:
parent
f43427267d
commit
ae9668b805
|
|
@ -15,10 +15,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSqlite(t *testing.T) {
|
func TestSqlite(t *testing.T) {
|
||||||
outDir := os.TempDir()
|
dbfile := filepath.Join(os.TempDir(), "db")
|
||||||
defer os.Remove(outDir)
|
defer os.Remove(dbfile)
|
||||||
|
|
||||||
dbfile := filepath.Join(outDir, "db")
|
|
||||||
|
|
||||||
// Use the plugin to write to the database address :=
|
// Use the plugin to write to the database address :=
|
||||||
// fmt.Sprintf("file:%v", dbfile)
|
// fmt.Sprintf("file:%v", dbfile)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue