diff options
| author | Taras Madan <tarasmadan@google.com> | 2025-04-22 11:46:07 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2025-04-23 08:30:37 +0000 |
| commit | 57d54c0889fd10499d368f0132c75567b0a28f57 (patch) | |
| tree | fc7484eefde11175a0e52acc62a77a959aa69d22 /pkg/cover/heatmap.go | |
| parent | 3b7466b943b5126cb450f32b99d54bfb536e510d (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.go | 2 |
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 |
