From 990ca69ead94f182a71e0855a1197576cb4505af Mon Sep 17 00:00:00 2001 From: howardwhw2 Date: Tue, 15 Mar 2022 21:36:37 +0800 Subject: [PATCH] Fix minor typos --- src/test/java/van/ParserTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/van/ParserTest.java b/src/test/java/van/ParserTest.java index 49ba1666c8..607e4c00ef 100644 --- a/src/test/java/van/ParserTest.java +++ b/src/test/java/van/ParserTest.java @@ -9,21 +9,21 @@ public class ParserTest { public void deadLineTester() { Command deadLine = Parser.parseCommand("deadline eat /by 22-10-2022 18:00"); - assertEquals("[D][ ] eat (by:Oct 22 2022 1800)" + assertEquals("[D][ ] eat (by:Oct 22 2022 1800) " , deadLine.toString()); } @Test public void eventTester() { Command eventTest = Parser.parseCommand("event sleep /at 12-01-2022 06:00"); - assertEquals("[E][ ] sleep (at:Jan 12 2022 0600)", + assertEquals("[E][ ] sleep (at:Jan 12 2022 0600) ", eventTest.toString()); } @Test public void toDoTester() { Command toDoTest = Parser.parseCommand("todo study"); - assertEquals("[T][ ] study", toDoTest.toString()); + assertEquals("[T][ ] study ", toDoTest.toString()); }