diff options
author | Dino Radaković <dinor@google.com> | 2021-09-28 17:08:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 17:08:17 -0400 |
commit | 74ebc58ec49bbfb8fca7787231312fda6e9fa119 (patch) | |
tree | 584a444c80b0d94deb15051457fa749a76c97a68 | |
parent | 0876db75339c86fd55c8868939d67696efaa377c (diff) | |
download | googletest-git-dinord-patch-1.tar.gz |
Update matchers.mddinord-patch-1
-rw-r--r-- | docs/reference/matchers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/matchers.md b/docs/reference/matchers.md index a5109d98..a541bf8d 100644 --- a/docs/reference/matchers.md +++ b/docs/reference/matchers.md @@ -261,7 +261,7 @@ which must be a permanent callback. ## Defining Matchers -| Macro foo | Description | +| Macro | Description | | :----------------------------------- | :------------------------------------ | | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even number. | | `MATCHER_P(IsDivisibleBy, n, "") { *result_listener << "where the remainder is " << (arg % n); return (arg % n) == 0; }` | Defines a matcher `IsDivisibleBy(n)` to match a number divisible by `n`. | |