Fix erroneous error message for sql.Open()
This commit is contained in:
parent
3456489fa1
commit
54826d9585
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue