systemlib
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) {
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)
}
}