From fa5b8aba7dbebe265bb771bccb23028aa2337e6a Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Sun, 20 Oct 2024 21:52:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20toString=20=E7=9A=84?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/xyz/zhouxy/plusone/commons/time/YearQuarterTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/xyz/zhouxy/plusone/commons/time/YearQuarterTests.java b/src/test/java/xyz/zhouxy/plusone/commons/time/YearQuarterTests.java index 67f3624..0583839 100644 --- a/src/test/java/xyz/zhouxy/plusone/commons/time/YearQuarterTests.java +++ b/src/test/java/xyz/zhouxy/plusone/commons/time/YearQuarterTests.java @@ -21,7 +21,6 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import lombok.extern.slf4j.Slf4j; - import java.time.LocalDate; import java.time.YearMonth; @@ -44,7 +43,7 @@ public class YearQuarterTests { assertEquals(expected, actual); - assertEquals("Q1 2023", actual.toString()); + assertEquals("2023 Q1", actual.toString()); } @Test