mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-09-18 17:48:03 +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());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void formatDate() {
|
||||
Instant instant = Instant.ofEpochMilli(1644328600364L);
|
||||
ZonedDateTime zonedDateTime = ZonedDateTime.ofInstant(instant, ZoneId.of("Asia/Shanghai"));
|
||||
String formatDate = SaFoxUtil.formatDate(zonedDateTime);
|
||||
Assertions.assertEquals(formatDate, "2022-02-08 21:56:40");
|
||||
}
|
||||
@Test
|
||||
public void formatDate() {
|
||||
Instant instant = Instant.ofEpochMilli(1644328600364L);
|
||||
ZonedDateTime zonedDateTime = ZonedDateTime.ofInstant(instant, ZoneId.of("Asia/Shanghai"));
|
||||
String formatDate = SaFoxUtil.formatDate(zonedDateTime);
|
||||
Assertions.assertEquals(formatDate, "2022-02-08 21:56:40");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void searchList() {
|
||||
|
Reference in New Issue
Block a user