修改 toString 的测试用例

dev
ZhouXY108 2024-10-20 21:52:26 +08:00
parent 0c3e3f77ce
commit fa5b8aba7d
1 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@ import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource; import org.junit.jupiter.params.provider.ValueSource;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.YearMonth; import java.time.YearMonth;
@ -44,7 +43,7 @@ public class YearQuarterTests {
assertEquals(expected, actual); assertEquals(expected, actual);
assertEquals("Q1 2023", actual.toString()); assertEquals("2023 Q1", actual.toString());
} }
@Test @Test