漏洞修复 用户
This commit is contained in:
parent
2e3d3e26e4
commit
86ed62d439
|
|
@ -186,7 +186,7 @@ public class DateUtilsTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testGetMonthOrDay() {
|
public void testGetMonthOrDay() {
|
||||||
String monthOrDay = DateUtils.getMonthOrDay(30, "/");
|
String monthOrDay = DateUtils.getMonthOrDay(28, "/");
|
||||||
assertNotNull(monthOrDay);
|
assertNotNull(monthOrDay);
|
||||||
assertTrue(monthOrDay.matches("\\d{2}/\\d{2}"));
|
assertTrue(monthOrDay.matches("\\d{2}/\\d{2}"));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue