fix travis
This commit is contained in:
parent
5ce184e67d
commit
5e2fdebc07
|
@ -57,16 +57,16 @@ public class DateUtilTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void timeStringTest() {
|
public void timeStringTest() {
|
||||||
assertTrue(DateUtil.timeString(new Date(1513902750000L)).contains("1:32"));
|
assertTrue(DateUtil.timeString(new Date(1513902750000L)).contains("32"));
|
||||||
assertTrue(DateUtil.timeString(1513902750000L).contains("1:32"));
|
assertTrue(DateUtil.timeString(1513902750000L).contains("32"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void dateAndTimeStringTest() {
|
public void dateAndTimeStringTest() {
|
||||||
assertTrue(DateUtil.dateAndTimeString(1513902750000L).contains("22"));
|
assertTrue(DateUtil.dateAndTimeString(1513902750000L).contains("22"));
|
||||||
assertTrue(DateUtil.dateAndTimeString(1513902750000L).contains("1:32"));
|
assertTrue(DateUtil.dateAndTimeString(1513902750000L).contains("32"));
|
||||||
assertTrue(DateUtil.dateAndTimeString(new Date(1513902750000L)).contains("22"));
|
assertTrue(DateUtil.dateAndTimeString(new Date(1513902750000L)).contains("22"));
|
||||||
assertTrue(DateUtil.dateAndTimeString(new Date(1513902750000L)).contains("1:32"));
|
assertTrue(DateUtil.dateAndTimeString(new Date(1513902750000L)).contains("32"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in a new issue