mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix test
This commit is contained in:
parent
a3afad68df
commit
9dabb0fd9f
@ -45,7 +45,7 @@ public class TemporalAccessorConverterTest {
|
||||
@Test
|
||||
public void toZonedDateTimeTest(){
|
||||
ZonedDateTime zonedDateTime = Convert.convert(ZonedDateTime.class, "2019-02-18");
|
||||
Assert.assertEquals("2019-02-18T00:00+08:00[GMT+08:00]", zonedDateTime.toString());
|
||||
Assert.assertEquals("2019-02-18T00:00+08:00", zonedDateTime.toString().substring(0, 22));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user