From ea0ebe63c4f7ebba21cbb115e3653427b34750f8 Mon Sep 17 00:00:00 2001 From: TheDiveO <6920158+thediveo@users.noreply.github.com> Date: Fri, 4 Nov 2022 19:20:37 +0100 Subject: [PATCH] fix small typo (#601) --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 816212808..cbc37fb23 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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: