Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cde2f14535 |
@@ -36,7 +36,8 @@ var loaded = struct {
|
||||
}{loaders: map[string]func() (*coreruleset.CoreRuleSet, error){}}
|
||||
|
||||
// shared returns the Core Rule Set with params, loaded once for every
|
||||
// test that asks for the same settings.
|
||||
// test that asks for the same settings. Loading takes most of the time
|
||||
// the tests take.
|
||||
func shared(t *testing.T, params coreruleset.Params) *coreruleset.CoreRuleSet {
|
||||
t.Helper()
|
||||
|
||||
|
||||
Reference in new issue
Block a user