We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66dad3b commit 2201898Copy full SHA for 2201898
src/coverlet.core/CoverageDetails.cs
@@ -6,6 +6,6 @@ public class CoverageDetails
6
{
7
public double Covered { get; internal set; }
8
public int Total { get; internal set; }
9
- public double Percent => Total == 0 ? 1D : Math.Floor((Covered / Total) * 10000) / 100;
+ public double Percent => Total == 0 ? 100D : Math.Floor((Covered / Total) * 10000) / 100;
10
}
11
0 commit comments