Skip to content

Commit

Permalink
Fix BodyRegexp (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
sentanos committed May 8, 2024
1 parent c82e133 commit 1f14529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ func (r *MockRequest) Body(b string) *MockRequest {

// BodyRegexp configures the mock request to match the given body using the regexp matcher
func (r *MockRequest) BodyRegexp(b string) *MockRequest {
r.body = b
r.bodyRegexp = b
return r
}

Expand Down

0 comments on commit 1f14529

Please sign in to comment.