From 3cdd1eddf4aba33f2a61498f933d95d376e04bd8 Mon Sep 17 00:00:00 2001 From: Grzegorz Dlugoszewski Date: Fri, 22 May 2020 09:57:01 +0200 Subject: [PATCH] Add a small URL corner case --- pkg/url_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/url_test.go b/pkg/url_test.go index 7b5d706..61c53c1 100644 --- a/pkg/url_test.go +++ b/pkg/url_test.go @@ -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 {