mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 08:52:42 +00:00
gofmt: bring internal/ and cmd/ back to gofmt -l clean
Mechanical `gofmt -w ./internal ./cmd`. Mostly struct-field realignment that had drifted, plus a few trailing-newline fixes. No behaviour change — gofmt is semantics-preserving, and build/vet/test are green either side. Split out from the code-review fixes that follow so those stay reviewable instead of hiding inside a wall of realignment.
This commit is contained in:
@@ -44,11 +44,11 @@ func TestSupplyDepletion_Brackets(t *testing.T) {
|
||||
max float32
|
||||
want SupplyDepletionState
|
||||
}{
|
||||
{10, 10, SupplyNormal}, // 100%
|
||||
{3, 10, SupplyNormal}, // 30%
|
||||
{2.5, 10, SupplyNormal}, // 25% — boundary stays normal
|
||||
{2, 10, SupplyRationing}, // 20%
|
||||
{1, 10, SupplyRationing}, // 10% — boundary stays rationing
|
||||
{10, 10, SupplyNormal}, // 100%
|
||||
{3, 10, SupplyNormal}, // 30%
|
||||
{2.5, 10, SupplyNormal}, // 25% — boundary stays normal
|
||||
{2, 10, SupplyRationing}, // 20%
|
||||
{1, 10, SupplyRationing}, // 10% — boundary stays rationing
|
||||
{0.9, 10, SupplySevereRationing},
|
||||
{0.1, 10, SupplySevereRationing},
|
||||
{0, 10, SupplyStarvation},
|
||||
|
||||
Reference in New Issue
Block a user