Closed jmettraux closed 2 years ago
As seen indirectly in gh-68:
Fugit.parse("0 13 * * 3#2#0") # => => #<EtOrbi::EoTime:0x000009991c9cc9d0 ...> Fugit::Cron.do_parse("0 13 * * 3#2#0") # => ArgumentError (invalid cron string "0 13 * * 3#2#0")
Fugit.parse should reject "0 13 * * 3#2#0" and return nil. Fugit.do_parse should raise an error.
Fugit.parse
"0 13 * * 3#2#0"
nil
Fugit.do_parse
Forget it. Don't rock the boat.
require 'time' Time.parse('0 13 * * *') # => 2022-04-13 00:00:00 +0900
As seen indirectly in gh-68:
Fugit.parse
should reject"0 13 * * 3#2#0"
and returnnil
.Fugit.do_parse
should raise an error.