mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 00:52:40 +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:
@@ -29,14 +29,14 @@ func TestEnemySpellSaveMod_Scales(t *testing.T) {
|
||||
atk int
|
||||
want int
|
||||
}{
|
||||
{0, 0}, // unstatted enemy
|
||||
{2, 1}, // T1
|
||||
{4, 2}, // T2
|
||||
{6, 3}, // T3
|
||||
{8, 4}, // T4
|
||||
{10, 5}, // T5 floor
|
||||
{12, 6}, // T5 boss
|
||||
{20, 10}, // outsized boss
|
||||
{0, 0}, // unstatted enemy
|
||||
{2, 1}, // T1
|
||||
{4, 2}, // T2
|
||||
{6, 3}, // T3
|
||||
{8, 4}, // T4
|
||||
{10, 5}, // T5 floor
|
||||
{12, 6}, // T5 boss
|
||||
{20, 10}, // outsized boss
|
||||
}
|
||||
for _, c := range cases {
|
||||
enemy := &CombatStats{AttackBonus: c.atk}
|
||||
|
||||
Reference in New Issue
Block a user