Browse Source

fix error message

Yasuhiro Matsumoto 1 year ago
parent
commit
bd2433c145
1 changed files with 2 additions and 2 deletions
  1. 2 2
      error_test.go

+ 2 - 2
error_test.go

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