whitelist repo update

This commit is contained in:
zach rice committed 2018-10-23 16:34:36 -05:00
1 parent 9272e1e556
commit 21b59fab5d
4 files changed
+29 -12

No files matched your search

+3 -3
View File
@@ -493,7 +493,7 @@ func TestAuditRepo(t *testing.T) {
whiteListFiles []*regexp.Regexp
whiteListCommits map[string]bool
whiteListBranches []string
whiteListRepos []string
whiteListRepos []*regexp.Regexp
whiteListRegexes []*regexp.Regexp
configPath string
}{
@@ -618,8 +618,8 @@ func TestAuditRepo(t *testing.T) {
repo: leaksRepo,
description: "audit whitelist repo",
numLeaks: 0,
whiteListRepos: []string{
"gronit",
whiteListRepos: []*regexp.Regexp{
regexp.MustCompile("gronit"),
},
},
{