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
With CHECK only the first (throwing) one is reported, because Catch::ResultDisposition::Normal is used here. What I'd like to see in the output is:
s.at(3) == 'o' FAILED with exception
s.at(1) == 'f' FAILED with 'o' == 'f'
I implemented that by copy&pasting INTERNAL_CATCH_TEST and using resultDisposition in the catch clause (ref). I'm not comfortable with the name, should be something like NORETHROW_CHECK or NOABORT_CHECK or perhaps default behaviour of CHECK?
The text was updated successfully, but these errors were encountered:
I'm looking for a variant of
CHECK(expr)
that doesn't abort ifexpr
throws an exception.For example:
With
CHECK
only the first (throwing) one is reported, becauseCatch::ResultDisposition::Normal
is used here. What I'd like to see in the output is:I implemented that by copy&pasting
INTERNAL_CATCH_TEST
and usingresultDisposition
in the catch clause (ref). I'm not comfortable with the name, should be something likeNORETHROW_CHECK
orNOABORT_CHECK
or perhaps default behaviour ofCHECK
?The text was updated successfully, but these errors were encountered: