mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
Added a test for fixed Google and Square config
This commit is contained in:
1 parent
be13bba64c
commit
45c898c5ea
3 files changed
+49
No files matched your search
@@ -533,6 +533,16 @@ func TestScan(t *testing.T) {
|
||||
},
|
||||
wantEmpty: true,
|
||||
},
|
||||
{
|
||||
description: "test dir two google api key leak AND square oauth leak",
|
||||
opts: options.Options{
|
||||
Path: "../test_data/test_repos/test_dir_2",
|
||||
Report: "../test_data/test_dir_one_google_leak_and_square_leak.json.got",
|
||||
ReportFormat: "json",
|
||||
NoGit: true,
|
||||
},
|
||||
wantPath: "../test_data/test_dir_one_google_leak_and_square_leak.json",
|
||||
},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
||||
Reference in new issue
Block a user