]> git.ozlabs.org Git - ccan/blobdiff - ccan/strset/test/run-order.c
endian: add constant versions.
[ccan] / ccan / strset / test / run-order.c
index bc3b2984b5f894dab44c70ab81398a01f689c54e..910a9f7a2b55feb1ffbebbc42cee5bb5cc9a60fc 100644 (file)
@@ -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)