Browse Source

* update tests

master
Alex 'AdUser' Z 8 years ago
parent
commit
e8314d7eab
  1. 4
      tests/io.c

4
tests/io.c

@ -39,10 +39,6 @@ int main() {
db = simdb_open(path, mode, &ret); db = simdb_open(path, mode, &ret);
assert(db != NULL); assert(db != NULL);
/* also test locks */
assert(simdb_open(path, mode, &ret) == NULL);
assert(ret == SIMDB_ERR_LOCK);
ret = simdb_records_count(db); ret = simdb_records_count(db);
assert(ret == 0); assert(ret == 0);

Loading…
Cancel
Save