Anders429 / simfile

Apache License 2.0
0 stars 0 forks source link

Run code coverage with `log` both enabled and disabled #29

Closed Anders429 closed 2 years ago

Anders429 commented 2 years ago

Fixes #27, although there are still a few missed lines due to the log statements being no-ops when log is disabled. Not sure if there is a way to fix that, since they compile into nothing.

codecov-commenter commented 2 years ago

Codecov Report

Merging #29 (f2219f7) into master (d3a8b3b) will increase coverage by 33.33%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #29       +/-   ##
===========================================
+ Coverage   58.33%   91.66%   +33.33%     
===========================================
  Files           1        1               
  Lines          60       60               
===========================================
+ Hits           35       55       +20     
+ Misses         25        5       -20     
Impacted Files Coverage Δ
src/internal_log.rs 91.66% <0.00%> (+33.33%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d3a8b3b...f2219f7. Read the comment docs.