diff --git a/sqlite3_test.go b/sqlite3_test.go index ee1ba0c..f2d461b 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -32,6 +32,7 @@ func TempFilename(t *testing.T) string { func doTestOpen(t *testing.T, option string) (string, error) { var url string tempFilename := TempFilename(t) + defer os.Remove(tempFilename) if option != "" { url = tempFilename + option } else {