X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftal%2Ftest%2Frun-expand.c;h=841735fb5fa61f38ca692fa37e2857c2f5eca375;hb=a8722345053b7cd860499aa31fd6bb414c120cc8;hp=607947bea70fe477dfdae3fe9f35388a3f52045a;hpb=8cf5b6208cad807228a69d695e6521122d4b71da;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);