handle new error message

This commit is contained in:
Yasuhiro Matsumoto 2017-11-18 23:24:37 +09:00
parent e5a5361164
commit 7fbd11b453
1 changed files with 1 additions and 1 deletions

View File

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