@@ -106,7 +106,7 @@ public void CreateSummaryReport(SummaryResult summaryResult)
106
106
reportTextWriter . WriteLine ( " {0} {1}" , ReportResources . Assemblies2 , assembliesWithClasses . Count ( ) . ToString ( CultureInfo . InvariantCulture ) ) ;
107
107
reportTextWriter . WriteLine ( " {0} {1}" , ReportResources . Classes , assembliesWithClasses . SelectMany ( a => a . Classes ) . Count ( ) . ToString ( CultureInfo . InvariantCulture ) ) ;
108
108
reportTextWriter . WriteLine ( " {0} {1}" , ReportResources . Files2 , assembliesWithClasses . SelectMany ( a => a . Classes ) . SelectMany ( a => a . Files ) . Distinct ( ) . Count ( ) . ToString ( CultureInfo . InvariantCulture ) ) ;
109
- reportTextWriter . WriteLine ( " {0} {1}" , ReportResources . Coverage2 , summaryResult . CoverageQuota . HasValue ? summaryResult . CoverageQuota . Value . ToString ( "f1" , CultureInfo . InvariantCulture ) + "%" : string . Empty ) ;
109
+ reportTextWriter . WriteLine ( " {0} {1}" , ReportResources . Coverage2 , summaryResult . CoverageQuota . HasValue ? summaryResult . CoverageQuota . Value . ToString ( CultureInfo . InvariantCulture ) + "%" : string . Empty ) ;
110
110
reportTextWriter . WriteLine ( " {0} {1}" , ReportResources . CoveredLines , summaryResult . CoveredLines . ToString ( CultureInfo . InvariantCulture ) ) ;
111
111
reportTextWriter . WriteLine ( " {0} {1}" , ReportResources . UncoveredLines , ( summaryResult . CoverableLines - summaryResult . CoveredLines ) . ToString ( CultureInfo . InvariantCulture ) ) ;
112
112
reportTextWriter . WriteLine ( " {0} {1}" , ReportResources . CoverableLines , summaryResult . CoverableLines . ToString ( CultureInfo . InvariantCulture ) ) ;
@@ -146,7 +146,7 @@ public void CreateSummaryReport(SummaryResult summaryResult)
146
146
147
147
foreach ( var assembly in assembliesWithClasses )
148
148
{
149
- string assemblyQuota = assembly . CoverageQuota . HasValue ? assembly . CoverageQuota . Value . ToString ( "f1" , CultureInfo . InvariantCulture ) + "%" : string . Empty ;
149
+ string assemblyQuota = assembly . CoverageQuota . HasValue ? assembly . CoverageQuota . Value . ToString ( CultureInfo . InvariantCulture ) + "%" : string . Empty ;
150
150
reportTextWriter . WriteLine ( ) ;
151
151
reportTextWriter . WriteLine (
152
152
"{0}{1} {2}" ,
@@ -156,7 +156,7 @@ public void CreateSummaryReport(SummaryResult summaryResult)
156
156
157
157
foreach ( var @class in assembly . Classes )
158
158
{
159
- string classQuota = @class . CoverageQuota . HasValue ? @class . CoverageQuota . Value . ToString ( "f1" , CultureInfo . InvariantCulture ) + "%" : string . Empty ;
159
+ string classQuota = @class . CoverageQuota . HasValue ? @class . CoverageQuota . Value . ToString ( CultureInfo . InvariantCulture ) + "%" : string . Empty ;
160
160
reportTextWriter . WriteLine (
161
161
" {0}{1} {2}" ,
162
162
@class . DisplayName ,
0 commit comments