char *v;
/* This is how many tests you plan to run */
- plan_tests(31);
+ plan_tests(32);
strmap_init(&map);
/* Add a duplicate should fail. */
ok1(!strmap_add(&map, dup, val));
+ ok1(errno == EEXIST);
ok1(strmap_get(&map, dup) == val);
/* Delete should return original string. */