From 0c55709a16c55c26a9534130147f606e5d08cbdc Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Thu, 14 Feb 2019 14:35:02 -0600 Subject: [PATCH] Add extra test cases for testing git slugs --- common/git_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/git_test.go b/common/git_test.go index f1312d14..2dcc37a4 100644 --- a/common/git_test.go +++ b/common/git_test.go @@ -25,6 +25,8 @@ func TestFindGitSlug(t *testing.T) { {"git@github.com:nektos/act.git", "GitHub", "nektos/act"}, {"https://github.com/nektos/act.git", "GitHub", "nektos/act"}, {"http://github.com/nektos/act.git", "GitHub", "nektos/act"}, + {"https://github.com/nektos/act", "GitHub", "nektos/act"}, + {"http://github.com/nektos/act", "GitHub", "nektos/act"}, {"git+ssh://git@github.com/owner/repo.git", "GitHub", "owner/repo"}, {"http://myotherrepo.com/act.git", "", "http://myotherrepo.com/act.git"}, }