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