Skip to content

Commit

Permalink
Change unit test for FindCommandParserTest
Browse files Browse the repository at this point in the history
Test for the correct MESSAGE_USAGE
  • Loading branch information
KrashKart committed Oct 10, 2024
1 parent 2c0ea77 commit d5ff881
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import org.junit.jupiter.api.Test;

import seedu.address.logic.commands.AbstractFindCommand;
import seedu.address.logic.commands.FindByContactCommand;
import seedu.address.logic.commands.FindByNameCommand;
import seedu.address.logic.commands.FindCommand;
Expand All @@ -20,7 +21,8 @@ public class FindCommandParserTest {

@Test
public void parse_emptyArg_throwsParseException() {
assertParseFailure(parser, " ", String.format(MESSAGE_INVALID_COMMAND_FORMAT, FindCommand.MESSAGE_USAGE));
assertParseFailure(parser, " ", String.format(MESSAGE_INVALID_COMMAND_FORMAT,
AbstractFindCommand.MESSAGE_USAGE));
}

@Test
Expand Down

0 comments on commit d5ff881

Please sign in to comment.