]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/test/run-count.c
tal: rename tal_len to tal_bytelen.
[ccan] / ccan / tal / test / run-count.c
index 6a4eb4ab8ada57a9aef4d772fedf61160e6662a4..54ba8c19ffe7ae486d096e4856f1dfa41dc91700 100644 (file)
@@ -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_bytelen(p1) == 0);
+       ok1(tal_count(p1) == 0);
 
        for (i = 0; i < 3; i++) {
                move = i;