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) {
|
||||
outDir := os.TempDir()
|
||||
defer os.Remove(outDir)
|
||||
|
||||
dbfile := filepath.Join(outDir, "db")
|
||||
dbfile := filepath.Join(os.TempDir(), "db")
|
||||
defer os.Remove(dbfile)
|
||||
|
||||
// Use the plugin to write to the database address :=
|
||||
// fmt.Sprintf("file:%v", dbfile)
|
||||
|
|
|
|||
Loading…
Reference in New Issue