From 0eff018c0ec02d9b3c55625fedebbc055f89d184 Mon Sep 17 00:00:00 2001 From: redcolorbicycle Date: Tue, 19 Mar 2024 15:44:45 +0800 Subject: [PATCH] checkstyle changed --- .../seedu/address/logic/parser/EditCommandParserTest.java | 4 ++-- src/test/java/seedu/address/testutil/PersonBuilder.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/seedu/address/logic/parser/EditCommandParserTest.java b/src/test/java/seedu/address/logic/parser/EditCommandParserTest.java index 07f0daf6f31..8331f92c835 100644 --- a/src/test/java/seedu/address/logic/parser/EditCommandParserTest.java +++ b/src/test/java/seedu/address/logic/parser/EditCommandParserTest.java @@ -99,8 +99,8 @@ public void parse_invalidValue_failure() { assertParseFailure(parser, "1" + TAG_EMPTY + TAG_DESC_FRIEND + TAG_DESC_HUSBAND, Tag.MESSAGE_CONSTRAINTS); // multiple invalid values, but only the first invalid value is captured - assertParseFailure(parser, "1" + INVALID_NAME_DESC + INVALID_EMAIL_DESC + VALID_HOUSINGTYPE_AMY + - VALID_PHONE_AMY, + assertParseFailure(parser, "1" + INVALID_NAME_DESC + INVALID_EMAIL_DESC + VALID_HOUSINGTYPE_AMY + + VALID_PHONE_AMY, Name.MESSAGE_CONSTRAINTS); } diff --git a/src/test/java/seedu/address/testutil/PersonBuilder.java b/src/test/java/seedu/address/testutil/PersonBuilder.java index 4064ab2c60b..8b853492838 100644 --- a/src/test/java/seedu/address/testutil/PersonBuilder.java +++ b/src/test/java/seedu/address/testutil/PersonBuilder.java @@ -4,7 +4,6 @@ import java.util.Set; import seedu.address.model.house.PostalCode; -import seedu.address.model.person.Address; import seedu.address.model.person.Email; import seedu.address.model.person.Name; import seedu.address.model.person.Person;