Expect call matcher message #4433
Unanswered
xakod
asked this question in
Community Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I don't understand how to correctly say gtest to print messages from matcher.
For example my matcher looks like this (yep, I just expanded macro)
Then I expect it like this
If I call my
Method
inside test with arg differs from expected I'll see unclear error message. I meanMatcher
methodMatchAndExplain
returns false here and I expect to see error message from matcher but there is no my error message.What should I do here?
Beta Was this translation helpful? Give feedback.
All reactions