From ba91ba98f92e3ade64d428bef1226eb146be2ddc Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 29 Jan 2014 09:17:47 +0900 Subject: [PATCH] Fix test --- error_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/error_test.go b/error_test.go index b61085d..a47025a 100644 --- a/error_test.go +++ b/error_test.go @@ -9,8 +9,9 @@ import ( ) func TestSimpleError(t *testing.T) { - if ErrWarning.Error() != "" { - t.Error("wrong error code for corrupted DB") + e := ErrError.Error() + if e != "SQL logic error or missing database" { + t.Error("wrong error code:" + e) } }