forked from mirror/go-sqlite3
Fix test
This commit is contained in:
parent
baffbbc154
commit
ba91ba98f9
|
@ -9,8 +9,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSimpleError(t *testing.T) {
|
func TestSimpleError(t *testing.T) {
|
||||||
if ErrWarning.Error() != "" {
|
e := ErrError.Error()
|
||||||
t.Error("wrong error code for corrupted DB")
|
if e != "SQL logic error or missing database" {
|
||||||
|
t.Error("wrong error code:" + e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue