Skip to content

Commit c34428d

Browse files
Test mix of numeric and test
1 parent 0740c0f commit c34428d

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
@@ -144,6 +144,7 @@ public static function invalidProvider(): array {
144144
["* * * * thurs php test.php", ["Line 1 contains an invalid value for Day of week: thurs"]],
145145
["* * * * 6-0 php test.php", ["Line 1 contains an invalid range for Day of week: 6-0 (must be in ascending order)"]],
146146
["* * * * 5-2 php test.php", ["Line 1 contains an invalid range for Day of week: 5-2 (must be in ascending order)"]],
147+
["* * * * 0-mon php test.php", ["Line 1 contains an invalid range for Day of week: 0-mon (must be numeric)"]],
147148
["* * * * fri-mon php test.php", ["Line 1 contains an invalid range for Day of week: fri-mon (must be numeric)"]],
148149

149150
["* * * 18 45 php test.php", ["Line 1 contains an invalid value for Month: 18", "Line 1 contains an invalid value for Day of week: 45"]],

0 commit comments

Comments
 (0)