mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-09-19 18:22:15 +08:00
Fixing again, the indentation issue.
This commit is contained in:
@@ -51,13 +51,13 @@ public class SaFoxUtilTest {
|
|||||||
Assertions.assertNotEquals(SaFoxUtil.getMarking28(), SaFoxUtil.getMarking28());
|
Assertions.assertNotEquals(SaFoxUtil.getMarking28(), SaFoxUtil.getMarking28());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void formatDate() {
|
public void formatDate() {
|
||||||
Instant instant = Instant.ofEpochMilli(1644328600364L);
|
Instant instant = Instant.ofEpochMilli(1644328600364L);
|
||||||
ZonedDateTime zonedDateTime = ZonedDateTime.ofInstant(instant, ZoneId.of("Asia/Shanghai"));
|
ZonedDateTime zonedDateTime = ZonedDateTime.ofInstant(instant, ZoneId.of("Asia/Shanghai"));
|
||||||
String formatDate = SaFoxUtil.formatDate(zonedDateTime);
|
String formatDate = SaFoxUtil.formatDate(zonedDateTime);
|
||||||
Assertions.assertEquals(formatDate, "2022-02-08 21:56:40");
|
Assertions.assertEquals(formatDate, "2022-02-08 21:56:40");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void searchList() {
|
public void searchList() {
|
||||||
|
Reference in New Issue
Block a user