mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-11-22 16:23:55 +00:00
rename check infinity loop test class and fun
This commit is contained in:
parent
9ea8194d7d
commit
f63ed1a873
@ -5,9 +5,9 @@ import com.soywiz.klock.days
|
|||||||
import dev.inmo.krontab.buildSchedule
|
import dev.inmo.krontab.buildSchedule
|
||||||
import kotlin.test.*
|
import kotlin.test.*
|
||||||
|
|
||||||
class InfinityLoopCheckTest {
|
class CheckMonthsAndDaysCorrectWork {
|
||||||
@Test
|
@Test
|
||||||
fun absenceOfInfinityLoopCheckTest() {
|
fun checkMonthsAndDaysCorrectWork() {
|
||||||
val now = DateTime.now().startOfYear.startOfDay
|
val now = DateTime.now().startOfYear.startOfDay
|
||||||
for (i in 0 until now.year.days) {
|
for (i in 0 until now.year.days) {
|
||||||
val scheduleDateTime = (now + i.days)
|
val scheduleDateTime = (now + i.days)
|
Loading…
Reference in New Issue
Block a user