X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftal%2Ftest%2Frun-expand.c;h=841735fb5fa61f38ca692fa37e2857c2f5eca375;hb=0ea6a2126c713207cb139d3329b15f0c9d735fbe;hp=2edb31f6951766d69893bad05983bcddae37636a;hpb=680aa496521811e7c60afb940bcae5024f4c6adb;p=ccan diff --git a/ccan/tal/test/run-expand.c b/ccan/tal/test/run-expand.c index 2edb31f6..841735fb 100644 --- a/ccan/tal/test/run-expand.c +++ b/ccan/tal/test/run-expand.c @@ -24,9 +24,10 @@ int main(void) ok1(a[1] == 1); ok1(a[2] == 2); ok1(a[3] == 0); - ok1(tal_first(NULL) == a && !tal_next(NULL, a)); + ok1(tal_first(NULL) == a && !tal_next(a) && !tal_first(a)); tal_free(a); + tal_cleanup(); return exit_status(); }