aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/cover/heatmap.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-04-22 11:46:07 +0200
committerTaras Madan <tarasmadan@google.com>2025-04-23 08:30:37 +0000
commit57d54c0889fd10499d368f0132c75567b0a28f57 (patch)
treefc7484eefde11175a0e52acc62a77a959aa69d22 /pkg/cover/heatmap.go
parent3b7466b943b5126cb450f32b99d54bfb536e510d (diff)
pkg/cover: use space for alignment, not underscore
Pre tag is used to save formatting space. Pre uses monospace font, thus changed all the file-tree to monospace. Pre also adds margin. Forcing margin to 0 manually.
Diffstat (limited to 'pkg/cover/heatmap.go')
-rw-r--r--pkg/cover/heatmap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/cover/heatmap.go b/pkg/cover/heatmap.go
index 751b53ea6..419a9a500 100644
--- a/pkg/cover/heatmap.go
+++ b/pkg/cover/heatmap.go
@@ -294,7 +294,7 @@ func FormatResult(thm *templateHeatmap, format Format) {
}
func approximateInstrumented(points int64) string {
- dim := "_"
+ dim := " "
if abs(points) > 10000 {
dim = "K"
points /= 1000