aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-08-06 15:35:52 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-06 15:35:52 +0200
commit3f67804688c193047b06ec66269dc0d0c149c01a (patch)
treeee66fd7b9a6028ac3a506191b5d77f6b0c638e79
parent8a7bfa0001e69eded910f358e74be1248d31a0a0 (diff)
downloadmuhqs-game-3f67804688c193047b06ec66269dc0d0c149c01a.tar.gz
muhqs-game-3f67804688c193047b06ec66269dc0d0c149c01a.zip
fixup! fix parsing of solid artifacts
-rw-r--r--go/game/card_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/card_test.go b/go/game/card_test.go
index c3c05197..7e2fefa9 100644
--- a/go/game/card_test.go
+++ b/go/game/card_test.go
@@ -28,11 +28,11 @@ func TestCardReporters(t *testing.T) {
sword := NewCard("base/sword")
palisade := NewCard("base/palisade")
- if !archer.IsBuyable() || !ritual.IsBuyable() || recruit.IsBuyable() || !sword.IsBuyable() {
+ if !archer.IsBuyable() || !ritual.IsBuyable() || !recruit.IsBuyable() || !sword.IsBuyable() || !palisade.IsBuyable() {
t.Fatal("unexpected buyability result")
}
- if !archer.IsPermanent() || ritual.IsPermanent() || !recruit.IsPermanent() || !sword.IsPermanent() {
+ if !archer.IsPermanent() || ritual.IsPermanent() || !recruit.IsPermanent() || !sword.IsPermanent() || !palisade.IsPermanent() {
t.Fatal("unexpected permanent result")
}