X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstrmap%2Ftest%2Frun-prefix.c;h=9c5156e6e57dd8c7ba09d85a1ca43138341497b8;hb=daf9ee7d8e2b683ff05283beb1843611ad8c9e8a;hp=f6eb17796094a7c8aaf3e2e6d38857f06c07b4c9;hpb=20f3b260313fb4d5566aeb0d0c5439574e914e2d;p=ccan diff --git a/ccan/strmap/test/run-prefix.c b/ccan/strmap/test/run-prefix.c index f6eb1779..9c5156e6 100644 --- a/ccan/strmap/test/run-prefix.c +++ b/ccan/strmap/test/run-prefix.c @@ -12,14 +12,14 @@ static bool in_order(const char *index, char *value, unsigned int *count) ok1(i == atoi(value)); ok1(*count == i); (*count)++; - return false; + return true; } static bool find_empty(const char *index, char *value, char *empty) { if (index == empty) pass("Found empty entry!"); - return false; + return true; } int main(void)