Skip to content

Commit

Permalink
Remove duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
jssblck committed May 18, 2024
1 parent c9701ee commit 6861bde
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/locator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,15 +349,6 @@ mod tests {
assert_eq!(expected, parsed);
assert_eq!(&parsed.to_string(), input);

let input = "git+github.com/foo/bar";
let parsed = Locator::parse(input).expect("must parse locator");
let expected = Locator::builder()
.fetcher(Fetcher::Git)
.project("github.com/foo/bar")
.build();
assert_eq!(expected, parsed);
assert_eq!(&parsed.to_string(), input);

let input = "git+github.com/foo/bar$abcd";
let parsed = Locator::parse(input).expect("must parse locator");
let expected = Locator::builder()
Expand Down

0 comments on commit 6861bde

Please sign in to comment.