summaryrefslogtreecommitdiff
path: root/sw-engine/src/test/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'sw-engine/src/test/kotlin')
-rw-r--r--sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/effects/SpecialAbilityActivationTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/effects/SpecialAbilityActivationTest.kt b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/effects/SpecialAbilityActivationTest.kt
index 978be53b..da2d7faf 100644
--- a/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/effects/SpecialAbilityActivationTest.kt
+++ b/sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/effects/SpecialAbilityActivationTest.kt
@@ -48,7 +48,7 @@ class SpecialAbilityActivationTest {
player.board.copiedGuild = guildCard
- val directPointsFromGuildCard = guildCard.effects.sumBy { it.computePoints(player) }
+ val directPointsFromGuildCard = guildCard.effects.sumOf { it.computePoints(player) }
assertEquals(directPointsFromGuildCard, effect.computePoints(player))
}
bgstack15