()
| 135 | |
| 136 | #[test] |
| 137 | fn parse_hms_seconds() { |
| 138 | let duration = parse_hms_time_inner().parse_text("01").unwrap(); |
| 139 | assert_eq!(duration.as_secs(), 1); |
| 140 | |
| 141 | let duration = parse_hms_time_inner().parse_text("1").unwrap(); |
| 142 | assert_eq!(duration.as_secs(), 1); |
| 143 | } |
| 144 | |
| 145 | #[test] |
| 146 | fn parse_hms_minutes() { |
nothing calls this directly
no test coverage detected