Skip to content

Commit dae63cf

Browse files
committed
test(plugin): remove accidental Player-Team comparison
1 parent 6d54216 commit dae63cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/test/sc/plugin2021/GameTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class GameTest: StringSpec({
1111
Color.BLUE.team
1212
val game = Game()
1313
val state = game.gameState
14-
game.onPlayerJoined() shouldBe Team.ONE
15-
game.onPlayerJoined() shouldBe Team.TWO
14+
game.onPlayerJoined().color shouldBe Team.ONE
15+
game.onPlayerJoined().color shouldBe Team.TWO
1616

1717
game.start()
1818
game.onAction(state.currentPlayer, PassMove(state.currentColor))

0 commit comments

Comments
 (0)