diff options
Diffstat (limited to 'modules/caddyhttp/matchers_test.go')
-rw-r--r-- | modules/caddyhttp/matchers_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/matchers_test.go b/modules/caddyhttp/matchers_test.go index 597d217..4a0db0b 100644 --- a/modules/caddyhttp/matchers_test.go +++ b/modules/caddyhttp/matchers_test.go @@ -219,7 +219,7 @@ func TestPathREMatcher(t *testing.T) { }, } { // compile the regexp and validate its name - err := tc.match.Provision() + err := tc.match.Provision(caddy.Context{}) if err != nil { t.Errorf("Test %d %v: Provisioning: %v", i, tc.match, err) continue @@ -337,7 +337,7 @@ func TestHeaderREMatcher(t *testing.T) { }, } { // compile the regexp and validate its name - err := tc.match.Provision() + err := tc.match.Provision(caddy.Context{}) if err != nil { t.Errorf("Test %d %v: Provisioning: %v", i, tc.match, err) continue |