What scenario are you envisioning that a print failing will be the sole indicator of a failure state?
You can have a print fail due to, for example, lack of space on the device and then have the close succeed later on.
There's also the argument that it's better to FailFast.
In reply to Re^2: Testing failures: How to override print to make it fail?
by adrianh
in thread Testing failures: How to override print to make it fail?
by eyepopslikeamosquito
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |