utest.h
utest.h copied to clipboard
Documentation for string comparison macros outdated
Have a look at the documentation of e.g. ASSERT_STRNEQ in the README https://github.com/sheredom/utest.h/blob/master/README.md#assert_strneqx-y It tells us that that the macro takes two arguments but in utest.h the macro is defined as having three arguments. (It makes us specify the length separately which is a good decision in my opinion). The following macros have the same issue:
- EXPECT_STRNEQ
- EXPECT_STRNEQ_MSG
- ASSERT_STRNEQ
- ASSERT_STRNEQ_MSG
- EXPECT_STRNNE
- EXPECT_STRNNE_MSG
- ASSERT_STRNNE
- ASSERT_STRNNE_MSG