diff --git a/sqlite3_test.go b/sqlite3_test.go index f4b80bc..f01d3e7 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -347,8 +347,9 @@ func TestBoolean(t *testing.T) { t.Errorf("Failed to open database:", err) return } - defer db.Close() + defer os.Remove("./foo.db") + defer db.Close() _, err = db.Exec("CREATE TABLE foo(id INTEGER, fbool BOOLEAN)") if err != nil {