Anders429 / simfile

Apache License 2.0
0 stars 0 forks source link

Misses in log code coverage #30

Closed Anders429 closed 3 years ago

Anders429 commented 3 years ago

There are some misses in code coverage in the internal_log.rs file. You can see them here.

All of these misses are in the tests, and I don't think there's really any way we can remove the misses, since they're occurring when log is deactivated, which means all of the statements become no-ops and are therefore never run.

tarpaulin does provide a flag for ignoring tests, and that seems to be the best way to deal with this. After all, we care about code coverage in the actual code, not in the tests.