From f63ed1a873541dbc59e2b0fba782895632ba1c3c Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 15 Jun 2022 14:43:28 +0600 Subject: [PATCH] rename check infinity loop test class and fun --- ...inityLoopCheckTest.kt => CheckMonthsAndDaysCorrectWork.kt} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/commonTest/kotlin/dev/inmo/krontab/utils/{InfinityLoopCheckTest.kt => CheckMonthsAndDaysCorrectWork.kt} (87%) diff --git a/src/commonTest/kotlin/dev/inmo/krontab/utils/InfinityLoopCheckTest.kt b/src/commonTest/kotlin/dev/inmo/krontab/utils/CheckMonthsAndDaysCorrectWork.kt similarity index 87% rename from src/commonTest/kotlin/dev/inmo/krontab/utils/InfinityLoopCheckTest.kt rename to src/commonTest/kotlin/dev/inmo/krontab/utils/CheckMonthsAndDaysCorrectWork.kt index a525ace..60c7d03 100644 --- a/src/commonTest/kotlin/dev/inmo/krontab/utils/InfinityLoopCheckTest.kt +++ b/src/commonTest/kotlin/dev/inmo/krontab/utils/CheckMonthsAndDaysCorrectWork.kt @@ -5,9 +5,9 @@ import com.soywiz.klock.days import dev.inmo.krontab.buildSchedule import kotlin.test.* -class InfinityLoopCheckTest { +class CheckMonthsAndDaysCorrectWork { @Test - fun absenceOfInfinityLoopCheckTest() { + fun checkMonthsAndDaysCorrectWork() { val now = DateTime.now().startOfYear.startOfDay for (i in 0 until now.year.days) { val scheduleDateTime = (now + i.days)