Skip to content

Commit

Permalink
Fix minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwhw2 committed Mar 15, 2022
1 parent cd35832 commit 990ca69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/van/ParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}


Expand Down

0 comments on commit 990ca69

Please sign in to comment.