carlos / platform Public

gofmt: blank line before the stamped-units banner in agent_test.go (#188)

`make` has been failing its gofmt gate since a5c6cc3 (2026-08-11): the
"stamped units for the metrics sweep" comment banner ran straight on from
`writerFunc.Write` with no blank line between them, and gofmt wants one.

Whitespace only — no test behaviour changes. The repo's CI gate runs the
test suite on Linux and only cross-compiles for darwin, so a red gofmt on
main is not otherwise visible until someone runs `make` locally.
James Adam 8371cf89ef061f81421b690d89c6bb6da71e0b34 parent f906a30
1 file changed, +1 −0
  • internal/host/agent_test.go +1 −0
diff --git a/internal/host/agent_test.go b/internal/host/agent_test.go
index 19783582a..7ce08214e 100644
--- a/internal/host/agent_test.go
+++ b/internal/host/agent_test.go
@@ -1621,6 +1621,7 @@ func TestRetentionLoopIsAPlatformBoxJob(t *testing.T) {
type writerFunc func(p []byte) (int, error)
func (f writerFunc) Write(p []byte) (int, error) { return f(p) }
+
// ---- stamped units for the metrics sweep (#110 column) ----------------------
// TestStampedUnitNamesDedupesAndSkipsUnstamped pins the metrics sweep's one