X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftal%2Ftest%2Frun-expand.c;fp=ccan%2Ftal%2Ftest%2Frun-expand.c;h=841735fb5fa61f38ca692fa37e2857c2f5eca375;hb=e81b527384ad5331a9cd35a9f21bc8ac6b16d137;hp=607947bea70fe477dfdae3fe9f35388a3f52045a;hpb=5e37a0febfb89a2535f2eb9f0ea06a5546a39234;p=ccan diff --git a/ccan/tal/test/run-expand.c b/ccan/tal/test/run-expand.c index 607947be..841735fb 100644 --- a/ccan/tal/test/run-expand.c +++ b/ccan/tal/test/run-expand.c @@ -24,7 +24,7 @@ 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);