diff options
author | David McMackins II <contact@mcmackins.org> | 2017-05-13 12:39:25 -0500 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2017-05-13 12:39:25 -0500 |
commit | b2c5baaa0a3803db286bd7fbb8e20f2057c95ac1 (patch) | |
tree | 7604986fc598d29bf836e2778604f4b3bbf8efa7 | |
parent | 81d3703725c05410da03db4ba1b9c5ec5c683080 (diff) |
Add ENOWORD check to test
-rw-r--r-- | pfxtree-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pfxtree-test.c b/pfxtree-test.c index d7cb67d..d3b57b5 100644 --- a/pfxtree-test.c +++ b/pfxtree-test.c @@ -43,6 +43,8 @@ main(void) assert(0 == pt_add_p(p, "hello", dummy)); assert('p' == pt_data_type(pt_search(p, "hello"))); + assert(PT_ENOWORD == pt_del(p, "asdf")); + pt_deep_free(p, true); return 0; } |