Skip to content

Commit

Permalink
Fix customMatcher signature
Browse files Browse the repository at this point in the history
  • Loading branch information
dentarg authored and dnaeon committed Apr 24, 2024
1 parent 10c5feb commit 1c1cba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ matched against the recorded request/response pairs by defining a
For example, the following matcher will match on method, URL and body:

```go
func customMatcher(r *http.Request, i Request) bool {
func customMatcher(r *http.Request, i cassette.Request) bool {
if r.Body == nil || r.Body == http.NoBody {
return cassette.DefaultMatcher(r, i)
}
Expand Down

0 comments on commit 1c1cba9

Please sign in to comment.