Skip to content

Commit

Permalink
fix small typo (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
thediveo committed Nov 4, 2022
1 parent d795db6 commit ea0ebe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Expand Up @@ -1737,7 +1737,7 @@ The [`gcustom` godocs](https://pkg.go.dev/github.com/onsi/gomega/gcustom) go int

`gcustom` also supports a simpler mechanism for generating messages: `.WithMessage()` simply takes a string and builds a canned message out of that string. You can also provide precompiled templates if you want to avoid the cost of compiling a template every time the matcher is called.

### Testing CUstom Matchers
### Testing Custom Matchers

Whether you create a new `representJSONMatcher` type, or use `gcustom` you might test drive this matcher while writing it using Ginkgo. Your test might look like:

Expand Down

0 comments on commit ea0ebe6

Please sign in to comment.