Fixing merge commit scans and large patch rule checking (#414)

* Fixing merge commit scans and large patch rule checking

* Adding tests for merge request scans
This commit is contained in:
Zachary Rice authored and GitHub committed 2020-07-25 14:55:59 -04:00
1 parent 1dc7569f95
commit eabc7b5c12
47 files changed
+278 -32

No files matched your search

+9
View File
@@ -376,6 +376,15 @@ func TestScan(t *testing.T) {
},
wantPath: "../test_data/test_local_repo_two_leaks_deletion.json",
},
{
description: "test local repo eight (merges)",
opts: options.Options{
RepoPath: "../test_data/test_repos/test_repo_8",
Report: "../test_data/test_local_repo_eight.json.got",
ReportFormat: "json",
},
wantPath: "../test_data/test_local_repo_eight.json",
},
}
for _, test := range tests {