Skip to content

Commit 7730131

Browse files
committed
test(git): Add parsing of ports
1 parent 09555f0 commit 7730131

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/parse/test_git.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@ class GitURLFixture(typing.NamedTuple):
3434
path="vcs-python/libvcs",
3535
),
3636
),
37+
GitURLFixture(
38+
url="https://github.com:7999/vcs-python/libvcs",
39+
is_valid=True,
40+
git_location=GitURL(
41+
url="https://github.com:7999/vcs-python/libvcs",
42+
scheme="https",
43+
hostname="github.com",
44+
port=7999,
45+
path="vcs-python/libvcs",
46+
),
47+
),
3748
#
3849
# SCP-style URLs:
3950
# e.g. 'git@example.com:foo/bar.git'

0 commit comments

Comments
 (0)