forked from mirror/go-sqlcipher
Fix example to check the correct error value
This commit is contained in:
parent
8897bf1452
commit
5532d1d5ac
|
@ -54,7 +54,7 @@ func main() {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
bk.Step(-1)
|
_, err = bk.Step(-1)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue