diff --git a/main.cpp b/main.cpp index c3bc40b..ca6a6be 100644 --- a/main.cpp +++ b/main.cpp @@ -15,6 +15,7 @@ void test_basics(amap mapdo, void *map) { /* Delete / tombstone */ assert(NULL != mapdo(map, AMAP_SET, "meaning", NULL)); + assert(NULL == (int *)mapdo(map, AMAP_GET, "meaning", NULL)); /* Check re-adding */ assert(NULL != mapdo(map, AMAP_SET, "meaning", &i));