-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve usernames when the remote ends with a trailing slash (#110)
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -343,10 +343,13 @@ def test_get_pr_url(config): | |
[ | ||
b"[email protected]:mock_user/cpython.git", | ||
b"[email protected]:mock_user/cpython", | ||
b"[email protected]:mock_user/cpython/", | ||
b"ssh://[email protected]/mock_user/cpython.git", | ||
b"ssh://[email protected]/mock_user/cpython", | ||
b"ssh://[email protected]/mock_user/cpython/", | ||
b"https://github.com/mock_user/cpython.git", | ||
b"https://github.com/mock_user/cpython", | ||
b"https://github.com/mock_user/cpython/", | ||
], | ||
) | ||
def test_username(url, config): | ||
|