https://github.com/robfig/cron/issues/144
(t *testing.T)
| 292 | |
| 293 | // https://github.com/robfig/cron/issues/144 |
| 294 | func TestSlash0NoHang(t *testing.T) { |
| 295 | schedule := "TZ=America/New_York 15/0 * * * *" |
| 296 | _, err := ParseStandard(schedule) |
| 297 | if err == nil { |
| 298 | t.Error("expected an error on 0 increment") |
| 299 | } |
| 300 | } |
nothing calls this directly
no test coverage detected