Skip to content

Commit

Permalink
Fix a failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
sp4ce-cowboy committed Oct 18, 2023
1 parent 6b72824 commit 2f26946
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void execute_multipleMonthsAndCategories_returnsValidTotalExpenditure() t
public void toString_noInput_returnsCommandStringFormatted() {
var command = new GetTotalExpenditureCommand(8, new Category("Food"));
var toStringResult = command.toString();
String expected = GetTotalExpenditureCommand.class.getCanonicalName() + "{month=8, categoryFilter=[Food]}";
String expected = GetTotalExpenditureCommand.class.getCanonicalName() + "{month=8, categoryFilter=Food}";
assertEquals(expected, toStringResult);
}

Expand Down

0 comments on commit 2f26946

Please sign in to comment.