fix error message

This commit is contained in:
Yasuhiro Matsumoto 2017-11-19 00:09:25 +09:00
parent 7fbd11b453
commit bd2433c145
1 changed files with 2 additions and 2 deletions

View File

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