diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2021-09-07 00:30:02 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2021-09-07 02:41:42 +0200 |
commit | 0ab3594568c36f64df480cfaccd9e7f7692bfb10 (patch) | |
tree | ce9ca956a51c768a18f3ab1c4053fe15ac359d86 /sw-engine/src/test/kotlin/org/luxons | |
parent | Use JDK 15 because of Gradle issue on 16 (diff) | |
download | seven-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/kotlin/org/luxons')
-rw-r--r-- | sw-engine/src/test/kotlin/org/luxons/sevenwonders/engine/effects/SpecialAbilityActivationTest.kt | 2 |
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)) } |