Skip to content

Commit

Permalink
Update test case for CommandParser
Browse files Browse the repository at this point in the history
  • Loading branch information
C5hives committed Sep 18, 2024
1 parent f66473e commit 79d4ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/lawrence/parser/CommandParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void createCommand_invalidCommand_throwsIllegalArgumentException() {
CommandParser.createCommand("blah blah blah");
fail();
} catch (IllegalArgumentException e) {
assertEquals("No command type found for: blah.", e.getMessage());
assertEquals("Unknown command: blah.", e.getMessage());
}
}

Expand Down

0 comments on commit 79d4ec3

Please sign in to comment.