aboutsummaryrefslogtreecommitdiff
path: root/go/game/unit_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/unit_test.go')
-rw-r--r--go/game/unit_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/go/game/unit_test.go b/go/game/unit_test.go
index e707c560..94fd3893 100644
--- a/go/game/unit_test.go
+++ b/go/game/unit_test.go
@@ -61,7 +61,7 @@ symbols:
t.Fatalf("Piled archer is attackable")
}
- if len(a.AttackableTiles(s.Map())) != 0 {
+ if len(a.AttackableTiles()) != 0 {
t.Fatalf("Piled archer has attackable tiles")
}
@@ -117,13 +117,13 @@ symbols:
}
}
- aTiles := a.AttackableTiles(m)
+ aTiles := a.AttackableTiles()
is := len(aTiles)
if is != 6 {
t.Fatal("6 attackable tiles expected not:", is)
}
- aPerms := a.AttackableEnemyPermanents(m)
+ aPerms := a.AttackableEnemyPermanents()
is = len(aPerms)
if is != 6 {
t.Fatal("6 attackable permanents expected not:", is)