diff options
| author | Jukka Kaartinen <jukka.kaartinen@unikie.com> | 2020-04-03 12:54:47 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-04-03 15:33:08 +0200 |
| commit | ef26b61025bac4c6bb1a0ef7eccc45f43f84c841 (patch) | |
| tree | 705b09babd6606fe432ef8123d3063d52a002228 /pkg/vcs/vcs_test.go | |
| parent | 84da034b1ed1d69311d84e7a10f426cfb3aade7b (diff) | |
pkg/vcs: Support ssh git repos
Signed-off-by: Jukka Kaartinen <jukka.kaartinen@unikie.com>
Diffstat (limited to 'pkg/vcs/vcs_test.go')
| -rw-r--r-- | pkg/vcs/vcs_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/vcs/vcs_test.go b/pkg/vcs/vcs_test.go index b53f65a93..90df3c42e 100644 --- a/pkg/vcs/vcs_test.go +++ b/pkg/vcs/vcs_test.go @@ -33,6 +33,10 @@ func TestCheckRepoAddress(t *testing.T) { "http://host.xz:123/path/to/repo.git/": true, "https://chromium.googlesource.com/chromiumos/third_party/kernel": true, "https://fuchsia.googlesource.com": true, + "git@my-github.com:my/fd.git": true, + "git@my-github.com:/fd.git": false, + "gitgit@my-github:/fd.git": false, + "git@my-github/fd.git": false, "": false, "foobar": false, "linux-next": false, |
