-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into list_refactoring
- Loading branch information
Showing
10 changed files
with
806 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,15 @@ namespace | |
static constexpr std::string_view url = "https://conda.anaconda.org/conda-forge/linux-64/pkg.conda"; | ||
REQUIRE_FALSE(PackageInfo::from_url(url).has_value()); | ||
} | ||
|
||
SECTION("git+https://github.com/urllib3/[email protected]#egg=urllib3") | ||
{ | ||
static constexpr std::string_view url = "git+https://github.com/urllib3/[email protected]#egg=urllib3"; | ||
auto pkg = PackageInfo::from_url(url).value(); | ||
|
||
REQUIRE(pkg.name == "urllib3"); | ||
REQUIRE(pkg.package_url == url); | ||
} | ||
} | ||
|
||
TEST_CASE("PackageInfo serialization") | ||
|
Oops, something went wrong.