fixing commit count

This commit is contained in:
zach rice committed 2018-11-07 19:33:39 -06:00
1 parent e95a8a7158
commit 54949bd62a
3 files changed
+31 -13

No files matched your search

+9 -9
View File
@@ -454,6 +454,14 @@ func TestAuditRepo(t *testing.T) {
whiteListRegexes []*regexp.Regexp
configPath string
}{
{
repo: leaksRepo,
description: "commit depth = 1, one leak",
numLeaks: 1,
testOpts: Options{
Depth: 1,
},
},
{
repo: leaksRepo,
description: "two leaks present",
@@ -557,14 +565,6 @@ func TestAuditRepo(t *testing.T) {
Commit: "f6839959b7bbdcd23008f1fb16f797f35bcd3a0c",
},
},
{
repo: leaksRepo,
description: "commit depth = 1, one leak",
numLeaks: 2,
testOpts: Options{
Depth: 1,
},
},
{
repo: leaksRepo,
description: "commit depth = 2, two leaks",
@@ -576,7 +576,7 @@ func TestAuditRepo(t *testing.T) {
{
repo: leaksRepo,
description: "toml entropy range",
numLeaks: 354,
numLeaks: 298,
configPath: path.Join(configsDir, "entropy"),
},
{