mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
chore: refine generic-api-key fps + trace logging (#1720)
This commit is contained in:
1 parent
69ed20e25e
commit
a43dc0d3d0
6 files changed
+57
-29
No files matched your search
@@ -40,7 +40,8 @@ func TestCommitAllowed(t *testing.T) {
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
assert.Equal(t, tt.commitAllowed, tt.allowlist.CommitAllowed(tt.commit))
|
||||
isAllowed, _ := tt.allowlist.CommitAllowed(tt.commit)
|
||||
assert.Equal(t, tt.commitAllowed, isAllowed)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user