X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2Ftest%2Frun-count.c;h=33049b9f78d3e2edc9e675ed2afc7450d9b9597d;hp=6a4eb4ab8ada57a9aef4d772fedf61160e6662a4;hb=9b3f4ef6eec6a5981dcaa62f45da49b8f4f95388;hpb=8cf5b6208cad807228a69d695e6521122d4b71da diff --git a/ccan/tal/test/run-count.c b/ccan/tal/test/run-count.c index 6a4eb4ab..33049b9f 100644 --- a/ccan/tal/test/run-count.c +++ b/ccan/tal/test/run-count.c @@ -43,7 +43,11 @@ int main(void) tal_set_backend(my_alloc, my_realloc, my_free, NULL); - plan_tests(19 * 3); + plan_tests(2 + 19 * 3); + + p1 = NULL; + ok1(tal_len(p1) == 0); + ok1(tal_count(p1) == 0); for (i = 0; i < 3; i++) { move = i;