From 6861bdefd6c0d327d1a2bc3b36b6b1f3013385ac Mon Sep 17 00:00:00 2001 From: Jessica Black Date: Fri, 17 May 2024 17:29:35 -0700 Subject: [PATCH] Remove duplicate test --- src/locator.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/locator.rs b/src/locator.rs index 3d1d04b..5a83d29 100644 --- a/src/locator.rs +++ b/src/locator.rs @@ -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()