(s: &str)
| 205 | } |
| 206 | |
| 207 | fn custom(s: &str) -> VersionNumber { |
| 208 | VersionNumber::CustomVersion(CustomVersion(s.to_owned())) |
| 209 | } |
| 210 | |
| 211 | #[test_case("1.2.3", &[], Ok(v(1, 2, 3)))] |
| 212 | #[test_case("1.2.3", &[Pattern::MajorMinorPatch], Ok(v(1, 2, 3)))] |
nothing calls this directly
no test coverage detected