diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-11-19 00:09:25 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2017-11-19 00:09:25 +0900 |
commit | bd2433c145708269b14c03f48be54070742bf3e0 (patch) | |
tree | 3dec932554f5e12c0975bdbe8763b7ec246b5dec | |
parent | handle new error message (diff) | |
download | golite-bd2433c145708269b14c03f48be54070742bf3e0.tar.gz golite-bd2433c145708269b14c03f48be54070742bf3e0.tar.xz |
fix error message
-rw-r--r-- | error_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/error_test.go b/error_test.go index 115a9f3..7fccd57 100644 --- a/error_test.go +++ b/error_test.go @@ -15,8 +15,8 @@ import ( func TestSimpleError(t *testing.T) { e := ErrError.Error() - if e != "SQL logic error or missing database" && e != "SQL error or missing database" { - t.Error("wrong error code:" + e) + if e != "SQL logic error or missing database" && e != "SQL logic error" { + t.Error("wrong error code: " + e) } } |