We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d54216 commit dae63cfCopy full SHA for dae63cf
plugin/src/test/sc/plugin2021/GameTest.kt
@@ -11,8 +11,8 @@ class GameTest: StringSpec({
11
Color.BLUE.team
12
val game = Game()
13
val state = game.gameState
14
- game.onPlayerJoined() shouldBe Team.ONE
15
- game.onPlayerJoined() shouldBe Team.TWO
+ game.onPlayerJoined().color shouldBe Team.ONE
+ game.onPlayerJoined().color shouldBe Team.TWO
16
17
game.start()
18
game.onAction(state.currentPlayer, PassMove(state.currentColor))
0 commit comments