mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
spliting up email and author
This commit is contained in:
1 parent
f9be4e543a
commit
56c89866a2
3 files changed
+18
-8
No files matched your search
@@ -520,6 +520,14 @@ func TestAuditRepo(t *testing.T) {
|
||||
numLeaks: 2,
|
||||
testOpts: &Options{},
|
||||
},
|
||||
{
|
||||
repo: leaksRepo,
|
||||
description: "no leaks present on branch",
|
||||
numLeaks: 0,
|
||||
testOpts: &Options{
|
||||
Branch: "dev",
|
||||
},
|
||||
},
|
||||
{
|
||||
repo: leaksRepo,
|
||||
description: "two leaks present limit goroutines",
|
||||
@@ -561,10 +569,7 @@ func TestAuditRepo(t *testing.T) {
|
||||
description: "two leaks present whitelist bad commit",
|
||||
configPath: path.Join(configsDir, "commit"),
|
||||
testOpts: &Options{},
|
||||
// whiteListCommits: map[string]bool{
|
||||
// "eaeffdc65b4c73ccb67e75d96bd8743be2c85973": true,
|
||||
// },
|
||||
numLeaks: 1,
|
||||
numLeaks: 1,
|
||||
},
|
||||
{
|
||||
repo: leaksRepo,
|
||||
|
||||
Reference in new issue
Block a user