Skip to content

Commit

Permalink
Fix AddCommandTests
Browse files Browse the repository at this point in the history
  • Loading branch information
burnflare committed Oct 27, 2016
1 parent e9e04a5 commit 11d5fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/guitests/AddCommandTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void add() {

//invalid command
commandBox.runCommand("adds Johnny");
assertResultMessage(Messages.MESSAGE_UNKNOWN_COMMAND);
assertResultMessage(String.format(Messages.MESSAGE_UNKNOWN_COMMAND_WITH_SUGGESTION, "add"));
}

private void assertAddSuccess(TestTask taskToAdd, TestTask... currentList) {
Expand Down

0 comments on commit 11d5fc4

Please sign in to comment.