summaryrefslogtreecommitdiff
path: root/sw-engine/src/test
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2021-09-07 00:30:02 +0200
committerJoffrey Bion <joffrey.bion@gmail.com>2021-09-07 02:41:42 +0200
commit0ab3594568c36f64df480cfaccd9e7f7692bfb10 (patch)
treece9ca956a51c768a18f3ab1c4053fe15ac359d86 /sw-engine/src/test
parentUse JDK 15 because of Gradle issue on 16 (diff)
downloadseven-wonders-0ab3594568c36f64df480cfaccd9e7f7692bfb10.tar.gz
seven-wonders-0ab3594568c36f64df480cfaccd9e7f7692bfb10.tar.bz2
seven-wonders-0ab3594568c36f64df480cfaccd9e7f7692bfb10.zip
Upgrade Kotlin, Kotlin/React, and Krossbow versions
Diffstat (limited to 'sw-engine/src/test')
-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