Skip to content

Commit

Permalink
Added a test, with days and a time with hour and minut but without se…
Browse files Browse the repository at this point in the history
…conds
  • Loading branch information
nbezzala committed Feb 20, 2015
1 parent 805d330 commit 6460f38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/parse_interval.t
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ BEGIN
@positive_data = (
[ '098:08:00' => DateTime::Duration->new( hours => 98, minutes => 8, ) ],
[ '1:08' => DateTime::Duration->new( hours => 1, minutes => 8, ) ],
[ '3 days 1:08' => DateTime::Duration->new( days => 3, hours => 1, minutes => 8, ) ],
[ '1:08:00' => DateTime::Duration->new( hours => 1, minutes => 8, ) ],
[ '-012:00:00' => DateTime::Duration->new( hours => -12, ) ],
[ '00:00:00' => DateTime::Duration->new() ],
Expand Down

0 comments on commit 6460f38

Please sign in to comment.