try this.withdrawAll() {
} catch Error(string memory reason) {
assert(false);
}
I know that I can use property_... mode to test withdrawAll, however the behavior above is not how other tools (e.g. forge test) works, and can be reason of confusion and even serious bugs if somebody misses it.