mirror of
https://github.com/grdl/git-get.git
synced 2026-02-04 18:34:51 +00:00
Add a small URL corner case
This commit is contained in:
@@ -63,7 +63,9 @@ func TestInvalidURLParse(t *testing.T) {
|
|||||||
"",
|
"",
|
||||||
//TODO: This URL is technically a correct scp-like syntax. Not sure how to handle it
|
//TODO: This URL is technically a correct scp-like syntax. Not sure how to handle it
|
||||||
"github.com:grdl/git-git.get.git",
|
"github.com:grdl/git-git.get.git",
|
||||||
"git@github.com:1234:grdl/git-get.git",
|
|
||||||
|
//TODO: Is this a valid git URL?
|
||||||
|
//"git@github.com:1234:grdl/git-get.git",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, url := range invalidURLs {
|
for _, url := range invalidURLs {
|
||||||
|
|||||||
Reference in New Issue
Block a user