Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanthony2001 committed Apr 4, 2024
1 parent 33411bc commit 58763b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void toStringMethod() {
@Test
public void getCommandStringTest() {
ScheduleAddCommand scheduleAddCommand = new ScheduleAddCommand(MEETING_WITH_ALICE);
String expected = ScheduleAddCommand.COMMAND_WORD;
String expected = "schedule " + ScheduleAddCommand.COMMAND_WORD;
assertEquals(expected, scheduleAddCommand.getCommandString());
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void equals() {
@Test
public void getCommandStringTest() {
ScheduleDeleteCommand deleteCommand = new ScheduleDeleteCommand(new Heading(VALID_HEADING_MEETING_WITH_ALICE));
String expected = ScheduleDeleteCommand.COMMAND_WORD;
String expected = "schedule " + ScheduleDeleteCommand.COMMAND_WORD;
assertEquals(expected, deleteCommand.getCommandString());
}

Expand Down

0 comments on commit 58763b3

Please sign in to comment.