package game import ( "testing" "thehouseoficarus/internal/player" ) func TestPlayerActionDisplayFightingInCombat(t *testing.T) { g := escapeTestGame() inst := spawnTestMob(g, "skeleton", 100) p := player.New("combatant") p.EscapeDir = "north" g.Combat.Enter(p.Name, inst.InstanceID) display := g.playerActionDisplay(p) want := "fighting a " + inst.Name if display != want { t.Errorf("playerActionDisplay = %q, want %q", display, want) } }