Skip to content

Commit 7fbd11b

Browse files
committed
handle new error message
1 parent e5a5361 commit 7fbd11b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
func TestSimpleError(t *testing.T) {
1717
e := ErrError.Error()
18-
if e != "SQL logic error or missing database" {
18+
if e != "SQL logic error or missing database" && e != "SQL error or missing database" {
1919
t.Error("wrong error code:" + e)
2020
}
2121
}

0 commit comments

Comments
 (0)