diff options
Diffstat (limited to 'error_test.go')
-rw-r--r-- | error_test.go | 5 |
1 files 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) } } |