Skip to content

Commit

Permalink
Use valid semver identifier in test
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Aug 15, 2022
1 parent 1154c74 commit 1f5fd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ mod tests {
assert_eq!(p, "x64");
assert_eq!(v, Version::new(1, 1, 1));

let s = "1.1.1+0~x64";
let s = "1.1.1+0.x64";
let (p,v) = parse_versionstring(&s.to_owned()).unwrap();
assert_eq!(p, "x64");
assert_eq!(v, Version::parse("1.1.1+0").unwrap());
Expand Down

0 comments on commit 1f5fd65

Please sign in to comment.