mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
replace std library regex engine with go-re2 (#1669)
This commit is contained in:
1 parent
906085fba6
commit
a91c6717a0
44 files changed
+92
-77
No files matched your search
@@ -2,12 +2,12 @@ package config
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"regexp"
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/go-cmp/cmp/cmpopts"
|
||||
"github.com/stretchr/testify/assert"
|
||||
regexp "github.com/wasilibs/go-re2"
|
||||
)
|
||||
|
||||
func TestCommitAllowed(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user