From 65e91f11b8eca36ee04ed3739b2fc5393dd65cb4 Mon Sep 17 00:00:00 2001 From: Tanja Herche Date: Fri, 3 Feb 2023 22:52:51 +0100 Subject: [PATCH] refactoring: removed String-separations --- src/test/java/org/bitbiome/commands/MapCommandTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/bitbiome/commands/MapCommandTest.java b/src/test/java/org/bitbiome/commands/MapCommandTest.java index 02c896e..2f28573 100644 --- a/src/test/java/org/bitbiome/commands/MapCommandTest.java +++ b/src/test/java/org/bitbiome/commands/MapCommandTest.java @@ -17,8 +17,8 @@ public class MapCommandTest { outputMessage .append(Colors.ANSI_BLUE + "Du befindest dich gerade hier: Wald" + "\n" + Colors.ANSI_RESET) .append(Colors.ANSI_BLUE + "Deine Karte:\n" + Colors.ANSI_RESET) - .append(Colors.ANSI_BLUE + "Wueste" + " " + "Gruenland" + " " + "Winterland" + "\n\n" + Colors.ANSI_RESET) - .append(Colors.ANSI_BLUE + "Strand" + " " + "Wald" + " " + "Berge" + "\n\n" + Colors.ANSI_RESET); + .append(Colors.ANSI_BLUE + "Wueste Gruenland Winterland\n\n" + Colors.ANSI_RESET) + .append(Colors.ANSI_BLUE + "Strand Wald Berge\n\n" + Colors.ANSI_RESET); assertEquals(outputMessage.toString(), mapMessage); }