From 80c07e5860b23fbc2f677f62a0b8c0ca08c3c5a2 Mon Sep 17 00:00:00 2001 From: Wang Zihan Date: Thu, 2 Nov 2023 00:45:42 +0800 Subject: [PATCH] Fix checkstyle issue --- src/test/java/seedu/address/model/event/EventTest.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/test/java/seedu/address/model/event/EventTest.java b/src/test/java/seedu/address/model/event/EventTest.java index 742d6b05422..0e735ac356a 100644 --- a/src/test/java/seedu/address/model/event/EventTest.java +++ b/src/test/java/seedu/address/model/event/EventTest.java @@ -3,17 +3,16 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; -import java.time.LocalDateTime; -import java.time.format.DateTimeFormatter; - import org.junit.jupiter.api.Test; public class EventTest { @Test public void test_eventEquals_pass() { - assertEquals(new Event("Sample", "00:01", "00:02", "Location", "Information"), + assertEquals( + new Event("Sample", "00:01", "00:02", "Location", "Information"), new Event("Sample", "00:01", "00:02", "Location", "Information")); - assertNotEquals(new Event("Sample", "00:01", "00:02", "Location", "Information"), + assertNotEquals( + new Event("Sample", "00:01", "00:02", "Location", "Information"), new Event("Sample", "00:02", "00:03", "Location", "Information")); }