by wpollock · 8mo ago · 0 comments
Shouldn't that be "||" rather than "&&"? We want the message only if the boolean expression is false.
This works too (but I wouldn't recommend it):
assert( someBooleanExpression || ! "It is false" );