diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-11-18 23:24:37 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-11-18 23:24:37 +0900 |
commit | 7fbd11b453371a2a317bfc73eff563aa223bb384 (patch) | |
tree | ea35eae303935a7e878ad464f2b60a4a4399f2e1 | |
parent | upgrade SQLite3 amalgamation code (diff) | |
download | golite-7fbd11b453371a2a317bfc73eff563aa223bb384.tar.gz golite-7fbd11b453371a2a317bfc73eff563aa223bb384.tar.xz |
handle new error message
-rw-r--r-- | error_test.go | 2 |
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) } } |