Skip to content

Conversation

@dustingooding
Copy link
Contributor

@dustingooding dustingooding commented Nov 15, 2024

Problem:

  • logical expressions fail in EXPECT() and ASSERT() because of operator precedence

Solution:

  • wrap __VA_ARGS__ use in macros with an extra set of parens

Problem:
- logical expressions fail in EXPECT() and ASSERT() because of
  operator precedence

Solution:
- wrap __VA_ARGS__ use in macros with an extra set of parens
@kris-jusiak kris-jusiak merged commit 9872bc3 into cpp-testing:master Nov 15, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants