From e703872d5d37a547f6192dbce1943f914a258324 Mon Sep 17 00:00:00 2001 From: fdai7753 Date: Wed, 7 Feb 2024 19:07:32 +0100 Subject: [PATCH] refactoring: Fixed typo --- src/test/java/pacmanTests/GameManagerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }