6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 15:39:46 +00:00

Add a small URL corner case

This commit is contained in:
Grzegorz Dlugoszewski
2020-05-22 09:57:01 +02:00
parent 02e32a5543
commit 3cdd1eddf4

View File

@@ -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
"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 {