[Issue 14855] -cov should ignore assert(0)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 5 18:12:25 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=14855

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
I understand that 100% coverage is a great goal. But assert(0) is executable
code and so it is correctly in the coverage report. Being concerned about
assert(0)'s not being executed is placing too much emphasis on the metric.

--


More information about the Digitalmars-d-bugs mailing list