X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fstrset%2Ftest%2Frun-order.c;fp=ccan%2Fstrset%2Ftest%2Frun-order.c;h=910a9f7a2b55feb1ffbebbc42cee5bb5cc9a60fc;hp=bc3b2984b5f894dab44c70ab81398a01f689c54e;hb=bb2a75f445f408e43730fc55a1a978581ebe9b96;hpb=7c69053bd418bf0abd21f29e8cb11164684310ca diff --git a/ccan/strset/test/run-order.c b/ccan/strset/test/run-order.c index bc3b2984..910a9f7a 100644 --- a/ccan/strset/test/run-order.c +++ b/ccan/strset/test/run-order.c @@ -10,7 +10,7 @@ static bool in_order(const char *value, unsigned int *count) int i = atoi(value); ok1(*count == i); (*count)++; - return false; + return true; } static bool in_order_by_2(const char *value, unsigned int *count) @@ -18,13 +18,13 @@ static bool in_order_by_2(const char *value, unsigned int *count) int i = atoi(value); ok1(*count == i); (*count) += 2; - return false; + return true; } static bool dump(const char *value, void *unused) { diag("%s", value); - return false; + return true; } int main(void)