From 7fbd11b453371a2a317bfc73eff563aa223bb384 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sat, 18 Nov 2017 23:24:37 +0900 Subject: handle new error message --- error_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'error_test.go') 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) } } -- cgit v1.2.3