mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 21:44:23 +01:00
updating tests
This commit is contained in:
1 parent
40240cb5ee
commit
ba49396755
1 file changed
-2
@@ -329,7 +329,6 @@ func TestWriteReport(t *testing.T) {
|
|||||||
Message: "get",
|
Message: "get",
|
||||||
Author: "some",
|
Author: "some",
|
||||||
File: "sleep",
|
File: "sleep",
|
||||||
Branch: "thxu",
|
|
||||||
Date: time.Now(),
|
Date: time.Now(),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -451,7 +450,6 @@ func TestAuditRepo(t *testing.T) {
|
|||||||
repo *RepoDescriptor
|
repo *RepoDescriptor
|
||||||
whiteListFiles []*regexp.Regexp
|
whiteListFiles []*regexp.Regexp
|
||||||
whiteListCommits map[string]bool
|
whiteListCommits map[string]bool
|
||||||
whiteListBranches []string
|
|
||||||
whiteListRepos []*regexp.Regexp
|
whiteListRepos []*regexp.Regexp
|
||||||
whiteListRegexes []*regexp.Regexp
|
whiteListRegexes []*regexp.Regexp
|
||||||
configPath string
|
configPath string
|
||||||
|
|||||||
Reference in new issue
Block a user