Skip to content

Commit

Permalink
Modify code for checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
KrashKart committed Oct 10, 2024
1 parent 58ea80c commit a06c780
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import seedu.address.logic.commands.DeleteCommand;
import seedu.address.logic.commands.EditCommand;
import seedu.address.logic.commands.ExitCommand;
import seedu.address.logic.commands.FindCommand;
import seedu.address.logic.commands.HelpCommand;
import seedu.address.logic.commands.ListCommand;
import seedu.address.logic.parser.exceptions.ParseException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import seedu.address.logic.commands.EditCommand.EditPersonDescriptor;
import seedu.address.logic.commands.ExitCommand;
import seedu.address.logic.commands.FindByNameCommand;
import seedu.address.logic.commands.FindCommand;
import seedu.address.logic.commands.HelpCommand;
import seedu.address.logic.commands.ListCommand;
import seedu.address.logic.parser.exceptions.ParseException;
Expand Down Expand Up @@ -69,13 +68,13 @@ public void parseCommand_exit() throws Exception {
assertTrue(parser.parseCommand(ExitCommand.COMMAND_WORD + " 3") instanceof ExitCommand);
}

// @Test
// public void parseCommand_find() throws Exception {
// List<String> keywords = Arrays.asList("foo", "bar", "baz");
// FindCommand command = (FindCommand) parser.parseCommand(
// FindCommand.COMMAND_WORD + " " + keywords.stream().collect(Collectors.joining(" ")));
// assertEquals(new FindCommand(new NameContainsKeywordsPredicate(keywords)), command);
// }
// @Test
// public void parseCommand_find() throws Exception {
// List<String> keywords = Arrays.asList("foo", "bar", "baz");
// FindCommand command = (FindCommand) parser.parseCommand(
// FindCommand.COMMAND_WORD + " " + keywords.stream().collect(Collectors.joining(" ")));
// assertEquals(new FindCommand(new NameContainsKeywordsPredicate(keywords)), command);
// }

@Test
public void parseCommand_findByName() throws Exception {
Expand Down

0 comments on commit a06c780

Please sign in to comment.