From ff84e0a1d147de3c4b14225b226da0e9aefacdb6 Mon Sep 17 00:00:00 2001 From: Marie-Louise Johansson Date: Tue, 23 Jun 2026 12:52:21 +0200 Subject: [PATCH] Fixed faulty test. Fault was: Test expects 3 Strings instead of 2 as described in the task. --- .../wizards-and-warriors-2/src/test/java/GameMasterTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exercises/concept/wizards-and-warriors-2/src/test/java/GameMasterTest.java b/exercises/concept/wizards-and-warriors-2/src/test/java/GameMasterTest.java index 4aba1596c..2b55aeea3 100644 --- a/exercises/concept/wizards-and-warriors-2/src/test/java/GameMasterTest.java +++ b/exercises/concept/wizards-and-warriors-2/src/test/java/GameMasterTest.java @@ -191,7 +191,6 @@ public void describeCharacterTravelingToDestinationWithoutExplicitTravelMethod() destination.setInhabitants(332); assertThat(new GameMasterProxy().describe(character, destination)).isEqualTo( - "You're a level 1 Warrior with 30 hit points. You're traveling to your destination by walking. You've" + - " arrived at Vo Mimbre, which has 332 inhabitants."); + "You're a level 1 Warrior with 30 hit points. You've arrived at Vo Mimbre, which has 332 inhabitants."); } }