From bbccb47dd5db0fd2f51ccb0f6b113a244a49d7d7 Mon Sep 17 00:00:00 2001 From: nixonwidjaja Date: Mon, 23 Oct 2023 00:30:17 +0800 Subject: [PATCH] Fix checkstyle --- .../java/seedu/address/logic/commands/AddCommandTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/seedu/address/logic/commands/AddCommandTest.java b/src/test/java/seedu/address/logic/commands/AddCommandTest.java index 0099545aa90..270b66a9248 100644 --- a/src/test/java/seedu/address/logic/commands/AddCommandTest.java +++ b/src/test/java/seedu/address/logic/commands/AddCommandTest.java @@ -50,8 +50,8 @@ public void execute_duplicatePerson_throwsCommandException() { AddCommand addCommand = new AddCommand(validPerson); ModelStub modelStub = new ModelStubWithPerson(validPerson); - assertThrows(CommandException.class, AddCommand.MESSAGE_DUPLICATE_PERSON, - () -> addCommand.execute(modelStub, "")); + assertThrows(CommandException.class, AddCommand.MESSAGE_DUPLICATE_PERSON, () -> addCommand.execute( + modelStub, "")); } @Test