Update sqlite3_test.go

systemlib
jander 2012-05-27 00:10:29 +08:00
parent ed17eae07a
commit 2f4a8f3f2c
1 changed files with 2 additions and 1 deletions

View File

@ -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 {