Skip to content

Commit

Permalink
Fix gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
daryltay415 committed Apr 14, 2024
1 parent 498d3b6 commit b10bc73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/java/seedu/omnitravel/OmniTravelTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,11 @@ public void testGetList() throws OmniException {
@Test
public void testActivityCommand() throws OmniException {
TravelActivityList list = new TravelActivityList();
String expectedOutput4 = "____________________________________________________________" +
String expectedOutput4 = "_______________________________________________________________________________" +
System.lineSeparator() +
"I added a new accommodation" + System.lineSeparator() +
"Accommodation: description :4 Oct 2024 :2 days (test)" + System.lineSeparator() +
"____________________________________________________________";
"_______________________________________________________________________________";
Parser.activityCommand("accommodation description /date 2024-10-04 /duration 2 days /tag test", list);
assertEquals(capturedOutputStream.toString().trim(), expectedOutput4);
}
Expand Down Expand Up @@ -691,7 +691,7 @@ public void testCheckCommandMethod() throws OmniException{
list.addTravelActivity(accommodationNew1);
list.addTravelActivity(foodNew2);
String[] command = {"check", "1"};
Parser.checkCommand(command, list);
Parser.checkCommand(command, list, "check 1");
}

@Test
Expand All @@ -700,7 +700,7 @@ public void testUncheckCommandMethod() throws OmniException{
list.addTravelActivity(accommodationNew1);
list.addTravelActivity(foodNew2);
String[] command = {"uncheck", "1"};
Parser.uncheckCommand(command, list);
Parser.uncheckCommand(command, list, "uncheck 1");
}

@Test
Expand Down

0 comments on commit b10bc73

Please sign in to comment.