vrischmann / zig-sqlite

zig-sqlite is a small wrapper around sqlite's C API, making it easier to use with Zig.
MIT License
367 stars 49 forks source link

Make tests work when using the same database file #109

Closed vrischmann closed 2 years ago

vrischmann commented 2 years ago

Some tests assumed the database is empty which is not the case if we run the tests like this:

zig build test -Din_memory=false -Ddbfile=/tmp/my.db

Fixes #106

greenfork commented 2 years ago

Works for me perfectly, thanks!