Code Coverage Analysis, how do I skip (ignore) a line?
Jonathan M Davis via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jul 21 23:41:47 PDT 2015
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
More information about the Digitalmars-d-learn
mailing list