mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2025-07-20 17:27:42 +00:00
15 lines
308 B
Kotlin
15 lines
308 B
Kotlin
package dev.inmo.krontab.utils
|
|
|
|
import dev.inmo.krontab.buildSchedule
|
|
import kotlin.test.Test
|
|
import kotlin.test.assertNotNull
|
|
|
|
class InfinityLoopCheckTest {
|
|
@Test
|
|
fun absenceOfInfinityLoopCheckTest() {
|
|
runTest {
|
|
assertNotNull(buildSchedule("0 0 0 1 *").next())
|
|
}
|
|
}
|
|
}
|