forked from mirror/go-sqlcipher
Update sqlite3_test.go
This commit is contained in:
parent
ed17eae07a
commit
2f4a8f3f2c
|
@ -347,8 +347,9 @@ func TestBoolean(t *testing.T) {
|
||||||
t.Errorf("Failed to open database:", err)
|
t.Errorf("Failed to open database:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer db.Close()
|
|
||||||
defer os.Remove("./foo.db")
|
defer os.Remove("./foo.db")
|
||||||
|
defer db.Close()
|
||||||
|
|
||||||
_, err = db.Exec("CREATE TABLE foo(id INTEGER, fbool BOOLEAN)")
|
_, err = db.Exec("CREATE TABLE foo(id INTEGER, fbool BOOLEAN)")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue