diff --git a/src/test/java/pacmanTests/GameManagerTest.java b/src/test/java/pacmanTests/GameManagerTest.java index 6838cb3..1646f9d 100644 --- a/src/test/java/pacmanTests/GameManagerTest.java +++ b/src/test/java/pacmanTests/GameManagerTest.java @@ -84,8 +84,8 @@ class GameManagerTest { Vector2 expectedPosition = new Vector2(1, 1); // act gameManager.ghosts[0].spawn(); - Vector2 ghostPositeion = gameManager.ghosts[0].position; + Vector2 ghostPosition = gameManager.ghosts[0].position; // assert - assertThat(ghostPositeion).isEqualTo(expectedPosition); + assertThat(ghostPosition).isEqualTo(expectedPosition); } }