Given a helper function isEqualCaseInsensitive() returning helpful detail in the assertion_result message, negation in a BOOST_CHECK() results in that detail being discarded.
This feature preserves that detail in the negated case.
For example:
BOOST_CHECK(isEqualCaseInsensitive('z', 'Z')) included detail like [z isEqualCaseInsensitiveTo Z]
BOOST_CHECK(!isEqualCaseInsensitive('z', 'Z')) discarded that detail until this revision, which now includes it: NOT([z isEqualCaseInsensitiveTo Z])
Given a helper function
isEqualCaseInsensitive()
returning helpful detail in theassertion_result
message, negation in aBOOST_CHECK()
results in that detail being discarded.This feature preserves that detail in the negated case.
For example:
BOOST_CHECK(isEqualCaseInsensitive('z', 'Z'))
included detail like[z isEqualCaseInsensitiveTo Z]
BOOST_CHECK(!isEqualCaseInsensitive('z', 'Z'))
discarded that detail until this revision, which now includes it:NOT([z isEqualCaseInsensitiveTo Z])