You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hawkinsw opened this issue
Jan 10, 2024
· 0 comments
Assignees
Labels
libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
EugeneZelenko
added
question
A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
libc++
libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
and removed
new issue
labels
Jan 10, 2024
…#77721)
Rather than allow for a message to be considered a match for the actual
assertion if it is anywhere in the assertion text, make sure that the
expected and the actual assertion are identical.
Addresses #77701
…llvm#77721)
Rather than allow for a message to be considered a match for the actual
assertion if it is anywhere in the assertion text, make sure that the
expected and the actual assertion are identical.
Addresses llvm#77701
libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
I just got bit by a nasty oddity in the semantics of
AssertionInfoMatcher::CheckMessageMatches
where// Allow any match
(see [1] below)
was not the behavior that I expected.
I was getting a positive match for
when attempting to check that
was the assertion's message.
Would there be any willingness to change the semantics of the this matcher? Maybe "anchored at the beginning"? Or "must match entirely"?
If so, I am happy to take the lead on making that change. I hope that this is not a bother.
[1]
llvm-project/libcxx/test/support/check_assertion.h
Line 92 in 21a784f
The text was updated successfully, but these errors were encountered: