Skip to content

Commit

Permalink
An additional wildcard test
Browse files Browse the repository at this point in the history
Since this was mentioned in the report as well.
  • Loading branch information
steveklabnik committed Oct 17, 2016
1 parent 6b50f83 commit ed01946
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/version_req.rs
Original file line number Diff line number Diff line change
Expand Up @@ -812,5 +812,9 @@ mod test {
let v = "0.*.*".parse::<VersionReq>().unwrap();

assert_eq!("0.*.*", format!("{}", v.predicates[0]));

let v = "0.0.*".parse::<VersionReq>().unwrap();

assert_eq!("0.0.*", format!("{}", v.predicates[0]));
}
}

0 comments on commit ed01946

Please sign in to comment.