mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
Fixing patch direction and making additions the default (#408)
* Fixing patch direction and making additions the default * adding test
This commit is contained in:
1 parent
e36b550851
commit
cfbb600fcb
16 files changed
+103
-410
No files matched your search
@@ -366,6 +366,16 @@ func TestAudit(t *testing.T) {
|
||||
},
|
||||
wantPath: "../test_data/test_local_repo_two_whitelist_commits.json",
|
||||
},
|
||||
{
|
||||
description: "test local repo two deletion",
|
||||
opts: options.Options{
|
||||
RepoPath: "../test_data/test_repos/test_repo_2",
|
||||
Report: "../test_data/test_local_repo_two_leaks_deletion.json.got",
|
||||
ReportFormat: "json",
|
||||
Deletion: true,
|
||||
},
|
||||
wantPath: "../test_data/test_local_repo_two_leaks_deletion.json",
|
||||
},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
||||
Reference in new issue
Block a user