mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2026-10-29 07:32:59 +00:00
fix of #27
This commit is contained in:
1 parent
f163a64964
commit
58f30aef15
4 files changed
+26
-11
No files matched your search
@@ -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