mirror of https://github.com/mattn/go-sqlite3.git
fix error message
This commit is contained in:
parent
7fbd11b453
commit
bd2433c145
|
@ -15,7 +15,7 @@ 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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue