Skip to content

Commit 796dcab

Browse files
committed
fix test
1 parent 0acd8f7 commit 796dcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestCorruptDbErrors(t *testing.T) {
4040
_, err = db.Exec("drop table foo")
4141
}
4242

43-
sqliteErr := err.(Error)
43+
sqliteErr := err.(*Error)
4444
if sqliteErr.Code != ErrNotADB {
4545
t.Error("wrong error code for corrupted DB")
4646
}

0 commit comments

Comments
 (0)