-
-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
Hey! Today I've tried to make Matcher
using Or
:
httpmock.BodyContainsString(`"subject":"incorrect"`).Or(httpmock.BodyContainsString(`"scenario":"incorrect"`))
and figured out that in 100% of cases, the first matcher was working correctly, but the second one, which was called in Or()
function, was ignored. I suppose there is an issue in this line: https://github.com/jarcoal/httpmock/blob/v1/match.go#L246 . Could you check, please?
Metadata
Metadata
Assignees
Labels
No labels