This commit is contained in:
mattn 2014-01-29 09:17:47 +09:00
parent baffbbc154
commit ba91ba98f9
1 changed files with 3 additions and 2 deletions

View File

@ -9,8 +9,9 @@ import (
) )
func TestSimpleError(t *testing.T) { func TestSimpleError(t *testing.T) {
if ErrWarning.Error() != "" { e := ErrError.Error()
t.Error("wrong error code for corrupted DB") if e != "SQL logic error or missing database" {
t.Error("wrong error code:" + e)
} }
} }