mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 02:25:56 +00:00
gofmt: realign map literal in memory_availability_test.go
Mechanical formatting drift surfaced by make format; no code change.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user