We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9437525 commit 59bc618Copy full SHA for 59bc618
provider/helpers/schedule_validation_test.go
@@ -477,6 +477,24 @@ func TestSchedulesOverlap(t *testing.T) {
477
s2: "* 9-18 * * 1-5",
478
expectErr: true,
479
},
480
+ {
481
+ name: "Invalid field count - too few fields",
482
+ s1: "* 9-18 * *",
483
+ s2: "* 9-18 * * 1-5",
484
+ expectErr: true,
485
+ },
486
487
+ name: "Invalid field count - too many fields",
488
+ s1: "* 9-18 * * 1-5 *",
489
490
491
492
493
+ name: "Invalid field count - s2 has too few fields",
494
+ s1: "* 9-18 * * 1-5",
495
+ s2: "* 9-18 * *",
496
497
498
}
499
500
for _, testCase := range testCases {
0 commit comments