Skip to content

Commit

Permalink
test: add more cases
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Nov 8, 2022
1 parent 92f6e99 commit 74d7f65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gronx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ func testcases() []Case {
{"@weekly", "2019-11-14 00:00:00", false, "2019-11-17 00:00"},
{"0 12 * * ?", "2020-08-20 00:00:00", false, "2020-08-20 12:00"},
{"0 12 ? * *", "2020-08-20 00:00:00", false, "2020-08-20 12:00"},
{"* ? * ? * *", "2020-08-20 00:00:00", true, "2020-08-20 00:01"},
{"* * ? * * */2", "2021-08-20 00:00:00", false, "2022-08-20 00:00"},
}
}

Expand Down

0 comments on commit 74d7f65

Please sign in to comment.