From 1dad15698845d370e998f7cc5feb8aece3fab58f Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 17:05:17 -0400 Subject: refactor: remove dead code, consolidate save/error handling, add lint gate --- internal/game/inventory_pickup_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/game/inventory_pickup_test.go') diff --git a/internal/game/inventory_pickup_test.go b/internal/game/inventory_pickup_test.go index a0d267e..2fc89b7 100644 --- a/internal/game/inventory_pickup_test.go +++ b/internal/game/inventory_pickup_test.go @@ -14,7 +14,7 @@ import ( func TestPickupMergesIntoFullInventory(t *testing.T) { h := newHarness(t) - h.seedAccount("alice", "pw", false) + h.seedAccount("alice") p := h.seedCharacter("alice", "alice") writeSeedFile(t, filepath.Join(h.dir, "items", "chips.yaml"), []byte("id: chips\nname: chips\nstackable: true\n")) sess := &net.Session{Conn: newChanConn(), Player: p, State: net.StateGame} @@ -34,7 +34,7 @@ func TestPickupMergesIntoFullInventory(t *testing.T) { func TestPickupFullInventoryWithoutStackStillRefused(t *testing.T) { h := newHarness(t) - h.seedAccount("alice", "pw", false) + h.seedAccount("alice") p := h.seedCharacter("alice", "alice") writeSeedFile(t, filepath.Join(h.dir, "items", "chips.yaml"), []byte("id: chips\nname: chips\nstackable: true\n")) sess := &net.Session{Conn: newChanConn(), Player: p, State: net.StateGame} -- cgit v1.2.3