mirror of https://github.com/mattn/go-sqlite3.git
Fix test
This commit is contained in:
parent
baffbbc154
commit
ba91ba98f9
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue