From 8be236e99a1f6328cc8e246d4789b84283484e01 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Mon, 3 Aug 2026 00:05:13 +0100 Subject: [PATCH] gofmt: realign map literal in memory_availability_test.go Mechanical formatting drift surfaced by make format; no code change. --- internal/models/memory_availability_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/models/memory_availability_test.go b/internal/models/memory_availability_test.go index 610a4b9d9..e5e609f04 100644 --- a/internal/models/memory_availability_test.go +++ b/internal/models/memory_availability_test.go @@ -38,8 +38,8 @@ func TestMemoryHasKnownUsageAcceptsTrustedZeroUsage(t *testing.T) { func TestMemoryHasKnownUsageRejectsNonFiniteAndContradictoryValues(t *testing.T) { for name, memory := range map[string]Memory{ - "nan": {Total: 8 << 30, Used: 4 << 30, Free: 4 << 30, Usage: math.NaN()}, - "infinity": {Total: 8 << 30, Used: 4 << 30, Free: 4 << 30, Usage: math.Inf(1)}, + "nan": {Total: 8 << 30, Used: 4 << 30, Free: 4 << 30, Usage: math.NaN()}, + "infinity": {Total: 8 << 30, Used: 4 << 30, Free: 4 << 30, Usage: math.Inf(1)}, "free overflow": {Total: 8 << 30, Free: 9 << 30}, } { t.Run(name, func(t *testing.T) {