write a report regardless if leaks are present (#758)

This commit is contained in:
Zachary Rice authored and GitHub committed 2021-12-17 17:26:14 -06:00
1 parent 36779df3bb
commit 43ec22429f
4 files changed
+3 -6

No files matched your search

+1 -2
View File
@@ -39,9 +39,8 @@ func TestWriteJSON(t *testing.T) {
}},
{
wantEmpty: true,
testReportName: "empty",
expected: filepath.Join(expectPath, "report", "this_should_not_exist.json"),
expected: filepath.Join(expectPath, "report", "empty.json"),
findings: []Finding{}},
}