mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix date test
This commit is contained in:
@@ -19,7 +19,7 @@ public class Issue677Test {
|
||||
|
||||
final String jsonStr = JSONUtil.toJsonStr(dto);
|
||||
final AuditResultDto auditResultDto = JSONUtil.toBean(jsonStr, AuditResultDto.class);
|
||||
Assert.assertEquals("Mon Dec 15 00:00:00 CST 1969", auditResultDto.getDate().toString());
|
||||
Assert.assertEquals("Mon Dec 15 00:00:00 CST 1969", auditResultDto.getDate().toString().replace("GMT+08:00", "CST"));
|
||||
}
|
||||
|
||||
@Data
|
||||
|
Reference in New Issue
Block a user