We have assertions like:

foo match {
... real cases ....
case thingy =>  Assert.invariantFailed(".....msg...")
}

The same thing can happen with if-then-else logic obviously where you make a 
decision, and some paths
through the logic can't occur.

These always get marked as non-covered, because by nature they're never 
supposed to happen.

Is there a structured comment or some way to tell codecov that this is ok, and 
not to issue a warning about this line?

Mike Beckerle | Principal Engineer

[cid:28249661-443c-4112-b447-c1f40794f06d]

mbecke...@owlcyberdefense.com<mailto:bhum...@owlcyberdefense.com>

P +1-781-330-0412

Reply via email to