summaryrefslogtreecommitdiff
path: root/app/src/test/java/se/leap
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/test/java/se/leap')
-rw-r--r--app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java b/app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java
index c857c103..3d38cb8a 100644
--- a/app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java
+++ b/app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java
@@ -14,6 +14,7 @@ public class DateHelperTest {
Pattern datePattern = Pattern.compile("^10 Nov 22 11:26 [+-][0-9]{4}$");
String formattedDate = DateHelper.getFormattedDateWithTimezone(1668075969744L);
Matcher matcher = datePattern.matcher(formattedDate);
- assertTrue(matcher.find());
+ System.out.println(formattedDate);
+ assertTrue("date should be formatted similar to 10 Nov 22 11:26 +0100", matcher.find());
}
} \ No newline at end of file