I know close can fail, but that wasn't my point.
How complicated can a failed-to-close code path be that you can't test it 'by inspection'?
And if it is complicated enough to warrant it, it probably indicates poor design.
More likely this is the triumph of a "100% code coverage" mandate over reason.
In reply to Re^3: how to make close() fail
by BrowserUk
in thread how to make close() fail
by kgoess
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |