Skip to content

Commit 06f553f

Browse files
Tweak
1 parent 7ee9d06 commit 06f553f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/LinterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ public static function validProvider(): array {
4545
["* * * 6-12/2 * php test.php"],
4646
["* * * feb * php test.php"],
4747
["* * * JUN * php test.php"],
48-
["* * * dec-jan * php test.php"],
49-
["* * * mar-feb * php test.php"],
5048

5149
["* * * * 0 php test.php"],
5250
["* * * * 6 php test.php"],
@@ -56,7 +54,6 @@ public static function validProvider(): array {
5654
["* * * * 1-5/4 php test.php"],
5755
["* * * * fri php test.php"],
5856
["* * * * TuE php test.php"],
59-
["* * * * fri-mon php test.php"],
6057
];
6158
}
6259

@@ -122,6 +119,8 @@ public static function invalidProvider(): array {
122119
["* * * 8/12 * php test.php", ["Line 1 has invalid value for Month: 8 - wildcard * or range supported only"]],
123120
["* * * 8/12/16 * php test.php", ["Line 1 has invalid value for Month: 8/12/16 - too many steps"]],
124121
["* * * june * php test.php", ["Line 1 has invalid value for Month: june"]],
122+
["* * * dec-jan * php test.php", ["Line 1 has invalid value for Month: dec-jan - values in range must be numeric"]],
123+
["* * * mar-feb * php test.php", ["Line 1 has invalid value for Month: mar-feb - values in range must be numeric"]],
125124
["* * * 12-1 * php test.php", ["Line 1 has invalid value for Month: 12-1 - values must be ordered"]],
126125

127126
["* * * * -4 php test.php", ["Line 1 has invalid value for Day of week: -4"]],
@@ -137,6 +136,7 @@ public static function invalidProvider(): array {
137136
["* * * * thurs php test.php", ["Line 1 has invalid value for Day of week: thurs"]],
138137
["* * * * 6-0 php test.php", ["Line 1 has invalid value for Day of week: 6-0 - values must be ordered"]],
139138
["* * * * 5-2 php test.php", ["Line 1 has invalid value for Day of week: 5-2 - values must be ordered"]],
139+
["* * * * fri-mon php test.php", ["Line 1 has invalid value for Day of week: fri-mon - values in range must be numeric"]],
140140
];
141141
}
142142

0 commit comments

Comments
 (0)