From bd2433c145708269b14c03f48be54070742bf3e0 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sun, 19 Nov 2017 00:09:25 +0900 Subject: [PATCH] fix error message --- error_test.go | 4 ++-- 1 file 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) } }