diff options
Diffstat (limited to 'lib/tdb2/test/run-tdb1.c')
-rw-r--r-- | lib/tdb2/test/run-tdb1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb2/test/run-tdb1.c b/lib/tdb2/test/run-tdb1.c index ebbfd77bb2b..30de924cd20 100644 --- a/lib/tdb2/test/run-tdb1.c +++ b/lib/tdb2/test/run-tdb1.c @@ -20,10 +20,10 @@ int main(int argc, char *argv[]) data.dptr = (void *)"world"; ok1(tdb1_store(tdb, key, data, TDB1_MODIFY) < 0); - ok1(tdb1_error(tdb) == TDB1_ERR_NOEXIST); + ok1(tdb_error(tdb) == TDB_ERR_NOEXIST); ok1(tdb1_store(tdb, key, data, TDB1_INSERT) == 0); ok1(tdb1_store(tdb, key, data, TDB1_INSERT) < 0); - ok1(tdb1_error(tdb) == TDB1_ERR_EXISTS); + ok1(tdb_error(tdb) == TDB_ERR_EXISTS); ok1(tdb1_store(tdb, key, data, TDB1_MODIFY) == 0); data = tdb1_fetch(tdb, key); |