aboutsummaryrefslogtreecommitdiff
path: root/error_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'error_test.go')
-rw-r--r--error_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/error_test.go b/error_test.go
index 1ccbe5b..115a9f3 100644
--- a/error_test.go
+++ b/error_test.go
@@ -15,7 +15,7 @@ import (
func TestSimpleError(t *testing.T) {
e := ErrError.Error()
- if e != "SQL logic error or missing database" {
+ if e != "SQL logic error or missing database" && e != "SQL error or missing database" {
t.Error("wrong error code:" + e)
}
}