Skip to content

Commit 9cee6dd

Browse files
gbamqzkdygLuca Ma
andauthored
Pass the parameter matchOperator in Request.WithPath to its inner calls (#1414)
Co-authored-by: Luca Ma <lucama@microsoft.com>
1 parent c88e737 commit 9cee6dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WireMock.Net.Minimal/RequestBuilders/Request.WithPath.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public IRequestBuilder WithPath(MatchOperator matchOperator, params IStringMatch
2121
{
2222
Guard.NotNullOrEmpty(matchers);
2323

24-
_requestMatchers.Add(new RequestMessagePathMatcher(MatchBehaviour.AcceptOnMatch, MatchOperator.Or, matchers));
24+
_requestMatchers.Add(new RequestMessagePathMatcher(MatchBehaviour.AcceptOnMatch, matchOperator, matchers));
2525
return this;
2626
}
2727

0 commit comments

Comments
 (0)