From d66fce72cc91aab7a7713572bf66d0cc4b58579a Mon Sep 17 00:00:00 2001 From: Tanja Herche Date: Mon, 6 Feb 2023 09:32:04 +0100 Subject: [PATCH] Unittest: added map-Command --- src/main/java/org/bitbiome/commands/HelpCommand.java | 2 ++ src/test/java/org/bitbiome/commands/HelpCommandTest.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/org/bitbiome/commands/HelpCommand.java b/src/main/java/org/bitbiome/commands/HelpCommand.java index ee4f237..938d236 100644 --- a/src/main/java/org/bitbiome/commands/HelpCommand.java +++ b/src/main/java/org/bitbiome/commands/HelpCommand.java @@ -28,6 +28,8 @@ public class HelpCommand implements CommandAPI { .append("|" + Colors.ANSI_GREEN + " travel" + Colors.ANSI_RESET + " | Startet das Reise System |\n") .append("|--------------|-----------------------------|\n") .append("|" + Colors.ANSI_GREEN + " location" + Colors.ANSI_RESET + " | Gibt deine Location aus |\n") + .append("|--------------|-----------------------------|\n") + .append("|" + Colors.ANSI_GREEN + " map" + Colors.ANSI_RESET + " | Zeigt dir deinen Karte |\n") .append("|______________|_____________________________|\n"); return outputMessage.toString(); diff --git a/src/test/java/org/bitbiome/commands/HelpCommandTest.java b/src/test/java/org/bitbiome/commands/HelpCommandTest.java index 5caac07..151e747 100644 --- a/src/test/java/org/bitbiome/commands/HelpCommandTest.java +++ b/src/test/java/org/bitbiome/commands/HelpCommandTest.java @@ -22,6 +22,8 @@ public class HelpCommandTest { .append("|" + Colors.ANSI_GREEN + " travel" + Colors.ANSI_RESET + " | Startet das Reise System |\n") .append("|--------------|-----------------------------|\n") .append("|" + Colors.ANSI_GREEN + " location" + Colors.ANSI_RESET + " | Gibt deine Location aus |\n") + .append("|--------------|-----------------------------|\n") + .append("|" + Colors.ANSI_GREEN + " map" + Colors.ANSI_RESET + " | Zeigt dir deinen Karte |\n") .append("|______________|_____________________________|\n"); assertEquals(outputMessage.toString(), helpMessage); }