()
| 53 | |
| 54 | #[test] |
| 55 | fn parses_version_with_prerelease() { |
| 56 | let output = "codspeed-exec-harness 4.4.2-alpha.2"; |
| 57 | let version = parse_from_output(output).unwrap(); |
| 58 | assert_eq!(version.major, 4); |
| 59 | assert_eq!(version.minor, 4); |
| 60 | assert_eq!(version.patch, 2); |
| 61 | assert_eq!(version.pre.as_str(), "alpha.2"); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | mod is_version_compatible { |
nothing calls this directly
no test coverage detected