From 6addc48cde9a7ecf468d324b4c4f29d02ecf23c8 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 f1312d1..2dcc37a 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"}, }