Fix erroneous error message for sql.Open()

This commit is contained in:
cds 2012-09-11 08:41:45 -05:00
parent 3456489fa1
commit 54826d9585
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ func TestUpdate(t *testing.T) {
func TestDelete(t *testing.T) { func TestDelete(t *testing.T) {
db, err := sql.Open("sqlite3", "./foo.db") db, err := sql.Open("sqlite3", "./foo.db")
if err != nil { if err != nil {
t.Error("Failed to select records:", err) t.Error("Failed to open database:", err)
return return
} }
defer os.Remove("./foo.db") defer os.Remove("./foo.db")