Fixing patch direction and making additions the default (#408)

* Fixing patch direction and making additions the default

* adding test
This commit is contained in:
Zachary Rice authored and GitHub committed 2020-07-22 13:32:46 -04:00
1 parent e36b550851
commit cfbb600fcb
16 files changed
+103 -410

No files matched your search

+10
View File
@@ -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 {