July 22, 2015 Code Coverage Analysis, how do I skip (ignore) a line? | ||||
---|---|---|---|---|
| ||||
I want my coverage analysis to be 100%, how do I skip lines like assert(0); from being counted? |
July 22, 2015 Re: Code Coverage Analysis, how do I skip (ignore) a line? | ||||
---|---|---|---|---|
| ||||
Posted in reply to antropod | On Wednesday, July 22, 2015 02:19:52 antropod via Digitalmars-d-learn wrote:
> I want my coverage analysis to be 100%, how do I skip lines like
> assert(0);
> from being counted?
AFAIK, there is no way to so, and I've mentioned that problem to Walter before, so I would have expected him to mention how to get around it if there were a way. You pretty much just have to live with not getting 100%, as annoying as that may be.
- Jonathan M Davis
|
Copyright © 1999-2021 by the D Language Foundation