diff --git a/uhabits-core/src/commonTest/kotlin/org/isoron/platform/time/DatesTest.kt b/uhabits-core/src/commonTest/kotlin/org/isoron/platform/time/DatesTest.kt index f036b1c53..867e045d9 100644 --- a/uhabits-core/src/commonTest/kotlin/org/isoron/platform/time/DatesTest.kt +++ b/uhabits-core/src/commonTest/kotlin/org/isoron/platform/time/DatesTest.kt @@ -420,16 +420,16 @@ class DatesTest : BaseUnitTest() { @Test fun testDaysSince2000() { - val zeroDays = daysSince2000(2000, Month.JANUARY, 1) + val zeroDays = daysSince2000(2000, Month.JANUARY, 1) assertEquals(0, zeroDays) - val oneYearWithLeapYear = daysSince2000(2001, Month.JANUARY, 1) + val oneYearWithLeapYear = daysSince2000(2001, Month.JANUARY, 1) assertEquals(366, oneYearWithLeapYear) - val fourYearsWithLeapYear = daysSince2000(2004, Month.JANUARY, 1) + val fourYearsWithLeapYear = daysSince2000(2004, Month.JANUARY, 1) assertEquals(1461, fourYearsWithLeapYear) - val oneYearPrior = daysSince2000(1999, Month.JANUARY, 1) + val oneYearPrior = daysSince2000(1999, Month.JANUARY, 1) assertEquals(-365, oneYearPrior) } diff --git a/uhabits-core/src/jvmTest/java/org/isoron/uhabits/core/models/TimestampTest.kt b/uhabits-core/src/jvmTest/java/org/isoron/uhabits/core/models/TimestampTest.kt index 9c170d599..1f977e6db 100644 --- a/uhabits-core/src/jvmTest/java/org/isoron/uhabits/core/models/TimestampTest.kt +++ b/uhabits-core/src/jvmTest/java/org/isoron/uhabits/core/models/TimestampTest.kt @@ -36,7 +36,7 @@ class TimestampTest : BaseUnitTest() { @Test fun testToLocalDate() { val timestamp = Timestamp(JAN_1_2000_IN_UNIX_TIME) - val expectedLocalDate = LocalDate(2000, Month.JANUARY ,1) + val expectedLocalDate = LocalDate(2000, Month.JANUARY, 1) assertEquals(expectedLocalDate, timestamp.toLocalDate()) }