X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2Fpath%2Ftest%2Frun-canon.c;h=c6e3a8b04b67696a272d87d70a503f44b1b909d9;hp=e01567bf5ab106be99d1cb7842af37ea4d98c7cb;hb=e81b527384ad5331a9cd35a9f21bc8ac6b16d137;hpb=5e37a0febfb89a2535f2eb9f0ea06a5546a39234 diff --git a/ccan/tal/path/test/run-canon.c b/ccan/tal/path/test/run-canon.c index e01567bf..c6e3a8b0 100644 --- a/ccan/tal/path/test/run-canon.c +++ b/ccan/tal/path/test/run-canon.c @@ -36,7 +36,7 @@ int main(void) ok1(strstarts(path, cwd)); ok1(path[strlen(cwd)] == PATH_SEP); ok1(strlen(path) == strlen(cwd) + 1 + strlen("run-canon-foo")); - ok1(tal_first(ctx) == path && tal_next(ctx, path) == NULL); + ok1(tal_first(ctx) == path && tal_next(path) == NULL); path2 = path_canon(ctx, "run-canon-link"); ok1(streq(path2, path));