Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ enable support for logical expressions in EXPECT and ASSERT #98

Merged
merged 1 commit into from
Nov 15, 2024

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