Skip to content

Documentation for string comparison macros outdated #174

@Pecora0

Description

@Pecora0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions