Skip to content

Commit

Permalink
fix: fix range parsing when upper limit = 0 (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Aug 26, 2023
1 parent 5e2c04e commit 1407f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/crontime.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('crontime', () => {
}).not.toThrow();
});

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

0 comments on commit 1407f1f

Please sign in to comment.