You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: fix vacuous assertions in src/fuzzy_schedule.rs (#1512)
Rewrite two low-value tests that only checked enum discriminants
via matches! without verifying the cron expressions they generate:
- test_parse_hourly: add cron structure assertions (5 fields,
scattered minute in [0,59], correct * wildcards for hourly)
- test_parse_special_periods: add cron step assertions (*/14 for
bi-weekly, */21 for tri-weekly) plus bounds checks on the
scattered minute/hour values
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments