[PATCH] ReportsHtml.cc: Add formatting
Ryan Long
ryan.long at oarcorp.com
Wed Jul 28 21:23:31 UTC 2021
Fix output that changed after adding fix for ostream format
---
tester/covoar/ReportsHtml.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/tester/covoar/ReportsHtml.cc b/tester/covoar/ReportsHtml.cc
index fa5196d..755675d 100644
--- a/tester/covoar/ReportsHtml.cc
+++ b/tester/covoar/ReportsHtml.cc
@@ -831,6 +831,7 @@ namespace Coverage {
<< std::endl;
} else {
report << "<td class=\"covoar-td\" align=\"center\">"
+ << std::fixed << std::setprecision( 2 )
<< ( symbolInfo.stats.uncoveredBytes * 100.0 ) /
symbolInfo.stats.sizeInBytes
<< "</td>" << std::endl;
--
1.8.3.1
More information about the devel
mailing list