Skip to content

Commit bd089de

Browse files
Test too many steps & too many values for range
1 parent 9aee5c0 commit bd089de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/LinterTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public static function invalidProvider(): array {
7777
["61-62/2 * * * * php test.php", ["Line 1 has invalid value for Minute: 61", "Line 1 has invalid value for Minute: 62"]],
7878
["1/2 * * * * php test.php", ["Line 1 has invalid value for Minute: 1 (only wildcard * or range supported)"]],
7979
["*/1/2 * * * * php test.php", ["Line 1 has too many step values for Minute: */1/2"]],
80+
["2-4-6/2/1 * * * * php test.php", ["Line 1 has too many step values for Minute: 2-4-6/2/1"]],
8081

8182
["* -1 * * * php test.php", ["Line 1 has invalid value for Hour: -1"]],
8283
["* -1-23 * * * php test.php", ["Line 1 has invalid value for Hour: -1"]],

0 commit comments

Comments
 (0)