mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
feat(allowlist): promote optimizations (#1908)
This commit is contained in:
1 parent
7fb4eda723
commit
bd79c3eaca
4 files changed
+20
-49
No files matched your search
@@ -151,7 +151,7 @@ func TestValidate(t *testing.T) {
|
||||
cmpopts.IgnoreUnexported(Allowlist{}),
|
||||
}
|
||||
)
|
||||
if diff := cmp.Diff(tt.input, tt.expected, opts); diff != "" {
|
||||
if diff := cmp.Diff(tt.expected, tt.input, opts); diff != "" {
|
||||
t.Errorf("diff: (-want +got)\n%s", diff)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user