reimplementing depth feature

This commit is contained in:
zricethezav committed 2020-01-19 12:14:14 -05:00
1 parent b47e00858e
commit f6460a7365
5 files changed
+143 -2

No files matched your search

+10
View File
@@ -233,6 +233,16 @@ func TestAudit(t *testing.T) {
},
wantPath: "../test_data/test_local_repo_one_aws_leak.json",
},
{
description: "test owner path depth=2",
opts: options.Options{
OwnerPath: "../test_data/test_repos/",
Report: "../test_data/test_local_owner_aws_leak_depth_2.json.got",
ReportFormat: "json",
Depth: 2,
},
wantPath: "../test_data/test_local_owner_aws_leak_depth_2.json",
},
}
for _, test := range tests {