mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2025-12-02 19:16:02 +00:00
fix of #27
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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())
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user