From 5e2fdebc07ff843387b4ccb361017d608de32660 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 1 Apr 2018 20:02:22 +0200 Subject: [PATCH] fix travis --- app/src/test/java/info/nightscout/utils/DateUtilTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/test/java/info/nightscout/utils/DateUtilTest.java b/app/src/test/java/info/nightscout/utils/DateUtilTest.java index 1db7fa432d..bd2268264a 100644 --- a/app/src/test/java/info/nightscout/utils/DateUtilTest.java +++ b/app/src/test/java/info/nightscout/utils/DateUtilTest.java @@ -57,16 +57,16 @@ public class DateUtilTest { @Test public void timeStringTest() { - assertTrue(DateUtil.timeString(new Date(1513902750000L)).contains("1:32")); - assertTrue(DateUtil.timeString(1513902750000L).contains("1:32")); + assertTrue(DateUtil.timeString(new Date(1513902750000L)).contains("32")); + assertTrue(DateUtil.timeString(1513902750000L).contains("32")); } @Test public void dateAndTimeStringTest() { 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("1:32")); + assertTrue(DateUtil.dateAndTimeString(new Date(1513902750000L)).contains("32")); } @Test