From 031585be3fd8374464357925d5e5640eb41e00e8 Mon Sep 17 00:00:00 2001 From: XiangRongLin <41164160+XiangRongLin@users.noreply.github.com> Date: Wed, 13 Jan 2021 17:25:00 +0100 Subject: [PATCH] Add comment about unexpected assertion --- app/src/test/java/org/schabi/newpipe/util/LocalizationTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/test/java/org/schabi/newpipe/util/LocalizationTest.kt b/app/src/test/java/org/schabi/newpipe/util/LocalizationTest.kt index d0a8e7a40..9f7e74649 100644 --- a/app/src/test/java/org/schabi/newpipe/util/LocalizationTest.kt +++ b/app/src/test/java/org/schabi/newpipe/util/LocalizationTest.kt @@ -18,6 +18,7 @@ class LocalizationTest { val actual = Localization.relativeTime(GregorianCalendar(2021, 1, 6)) + // yes this assertion is true, even if it should be 5 days, it works as it is. Future research required. assertEquals("1 month from now", actual) }