chore: apply gofumpt formatting

Pre-existing formatting drift picked up by `make fmt`. Whitespace and
comment layout only, no semantic change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-27 10:28:22 +02:00
co-authored by Claude Opus 5
parent 4cfbecd818
commit fca7b81e3d
3 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -104,8 +104,8 @@ func TestFreeViaProviderPrunesDeadNodes(t *testing.T) {
const freq int64 = 60
thr := time.Unix(100000, 0)
writeNode(ms, "fritz", "dead", nil, freq, 1000, 2000) // stale, not used -> pruned
writeNode(ms, "fritz", "busy", nil, freq, 1000, 2000) // stale, but used -> kept
writeNode(ms, "fritz", "dead", nil, freq, 1000, 2000) // stale, not used -> pruned
writeNode(ms, "fritz", "busy", nil, freq, 1000, 2000) // stale, but used -> kept
writeNode(ms, "fritz", "live", nil, freq, 100000, 100600) // fresh -> kept
ms.SetNodeProvider(&fakeNodeProvider{nodes: map[string][]string{"fritz": {"busy"}}})