forked from mirror/go-sqlite3
fixed typo
This commit is contained in:
parent
5846e1aa22
commit
2fe51daa56
|
@ -110,7 +110,7 @@ func TestOpenNoCreate(t *testing.T) {
|
||||||
|
|
||||||
sqlErr, ok := err.(Error)
|
sqlErr, ok := err.(Error)
|
||||||
if !ok {
|
if !ok {
|
||||||
t.Fatalf("expected *Error, but got %T", err)
|
t.Fatalf("expected sqlite3.Error, but got %T", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if sqlErr.Code != ErrCantOpen {
|
if sqlErr.Code != ErrCantOpen {
|
||||||
|
|
Loading…
Reference in New Issue