From 2f4a8f3f2c1ea6b1dc24a4d6ea55ef720ba9f1d4 Mon Sep 17 00:00:00 2001 From: jander Date: Sun, 27 May 2012 00:10:29 +0800 Subject: [PATCH] Update sqlite3_test.go --- sqlite3_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {