You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1737,7 +1737,7 @@ The [`gcustom` godocs](https://pkg.go.dev/github.com/onsi/gomega/gcustom) go int
1737
1737
1738
1738
`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.
1739
1739
1740
-
### Testing CUstom Matchers
1740
+
### Testing Custom Matchers
1741
1741
1742
1742
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:
0 commit comments