Menu

#23 improve output for TEST_BOOL(memcmp(...)) and TEST_BOOL(strcmp(...)) tests

closed
None
Feature Request
2015-11-25
2015-06-12
No

lib/util/tests/stringutils-test.c has a few tests that look like this:

TEST_BOOL(memcmp(...), false);
TEST_BOOL(strcmp(...), false);

If these tests fail, the output isn't very useful. It'd be nice if they dumped out the two memory regions/strings for evaluation.

Discussion

  • Richard Hansen

    Richard Hansen - 2015-06-12
    • status: in-progress --> waiting-for-review
     
  • Richard Hansen

    Richard Hansen - 2015-06-12
    • status: waiting-for-review --> closed
     
  • Richard Hansen

    Richard Hansen - 2015-06-12

    merged

     
  • David Mandelberg

     
  • David Mandelberg

    Migrated to github.