diff options
-rw-r--r-- | src/sord_test.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sord_test.c b/src/sord_test.c index a845c9e..d00fc8a 100644 --- a/src/sord_test.c +++ b/src/sord_test.c @@ -538,6 +538,13 @@ main(int argc, char** argv) goto fail; } + SordIter* iter = sord_find(sord, tup); + if (!sord_iter_end(iter)) { + fprintf(stderr, "Found removed tuple\n"); + goto fail; + } + sord_iter_free(iter); + sord_free(sord); sord_world_free(world); |