Skip to content

Commit 1407f1f

Browse files
committed
fix: fix range parsing when upper limit = 0 (#687)
1 parent 5e2c04e commit 1407f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/crontime.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describe('crontime', () => {
7070
}).not.toThrow();
7171
});
7272

73-
it('should accept all valid ranges (0-59 0-59 1-23 1-31 0-12 0-6)', () => {
73+
it('should accept all valid ranges (0-59 0-59 0-23 1-31 1-12 0-7)', () => {
7474
expect(() => {
7575
new cron.CronTime('0-59 0-59 1-23 1-31 0-11 0-6');
7676
}).not.toThrow();

0 commit comments

Comments
 (0)