Skip to content

Commit

Permalink
Update TaskListTest.java to match format change
Browse files Browse the repository at this point in the history
  • Loading branch information
dishenggg committed Sep 17, 2023
1 parent c174804 commit 3db881e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/joe/TaskListTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void findByDesc_emptySearchString_allTasks() {
tasks.add(newDeadline);
tasks.add(newEvent);
TaskList res = tasks.findByDesc("", false);
assertEquals("1.[T][ ] Todo\n"
assertEquals("1. [T][ ] Todo\n"
+ "2. [D][ ] Deadline (by: 01 Jan 2000 00:00)\n"
+ "3. [E][ ] Event (from: 01 Jan 2000 00:00 to: 01 Jan 2000 00:00)", res.toString());
}
Expand Down Expand Up @@ -173,7 +173,7 @@ public void findAll_datetime_success() {
tasks.add(newDeadline);
tasks.add(newEvent);
TaskList res = tasks.findAll("Jan 2000");
assertEquals("1.[D][ ] ALL UPPER CASE (by: 01 Jan 2000 00:00)\n"
assertEquals("1. [D][ ] ALL UPPER CASE (by: 01 Jan 2000 00:00)\n"
+ "2. [E][ ] rAnDoM CaSe (from: 01 Jan 2000 00:00 to: 01 Jan 2000 00:00)", res.toString());
}
}

0 comments on commit 3db881e

Please sign in to comment.