From 46aeb804ba70e7fa2475992ef92bf82b9174997a Mon Sep 17 00:00:00 2001 From: yooplo Date: Thu, 10 Oct 2024 16:08:37 +0800 Subject: [PATCH] Fix code style --- .../address/logic/commands/FindByEmailCommandTest.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/test/java/seedu/address/logic/commands/FindByEmailCommandTest.java b/src/test/java/seedu/address/logic/commands/FindByEmailCommandTest.java index c337d46c9fe..ab03b0517b9 100644 --- a/src/test/java/seedu/address/logic/commands/FindByEmailCommandTest.java +++ b/src/test/java/seedu/address/logic/commands/FindByEmailCommandTest.java @@ -1,12 +1,9 @@ package seedu.address.logic.commands; import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; -import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.logic.Messages.MESSAGE_PERSONS_LISTED_OVERVIEW; import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess; -import seedu.address.model.person.EmailContainsKeywordsPredicate; import static seedu.address.testutil.TypicalPersons.INA; import static seedu.address.testutil.TypicalPersons.REG; import static seedu.address.testutil.TypicalPersons.getTypicalAddressBook; @@ -19,14 +16,15 @@ import seedu.address.model.Model; import seedu.address.model.ModelManager; import seedu.address.model.UserPrefs; +import seedu.address.model.person.EmailContainsKeywordsPredicate; import seedu.address.model.person.NameContainsKeywordsPredicate; /** * Contains integration tests (interaction with the Model) for {@code FindByContactCommand}. */ public class FindByEmailCommandTest { - final private Model model = new ModelManager(getTypicalAddressBook(), new UserPrefs()); - final private Model expectedModel = new ModelManager(getTypicalAddressBook(), new UserPrefs()); + private final Model model = new ModelManager(getTypicalAddressBook(), new UserPrefs()); + private final Model expectedModel = new ModelManager(getTypicalAddressBook(), new UserPrefs()); @Test public void equals() {