X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fstrmap%2Ftest%2Frun-prefix.c;h=9c5156e6e57dd8c7ba09d85a1ca43138341497b8;hp=f6eb17796094a7c8aaf3e2e6d38857f06c07b4c9;hb=bb2a75f445f408e43730fc55a1a978581ebe9b96;hpb=7c69053bd418bf0abd21f29e8cb11164684310ca 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)