MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / parses_valid_version

Function parses_valid_version

src/binary_installer/versions.rs:48–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47 #[test]
48 fn parses_valid_version() {
49 let output = "codspeed-memtrack 4.4.2";
50 let version = parse_from_output(output).unwrap();
51 assert_eq!(version, Version::new(4, 4, 2));
52 }
53
54 #[test]
55 fn parses_version_with_prerelease() {

Callers

nothing calls this directly

Calls 1

parse_from_outputFunction · 0.85

Tested by

no test coverage detected