Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/googletest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDino Radaković <dinor@google.com>2021-09-28 23:58:21 +0300
committerGitHub <noreply@github.com>2021-09-28 23:58:21 +0300
commit69b3b54f3c650d48a0529bc60c07ed9ef89de4c9 (patch)
treec908bdcdd6b96be54329a53ab169cfa3f2afc793
parentd558af2ab28093ef6338db28bb699f09abd6c1d7 (diff)
Add placeholder a bit farther from the end
-rw-r--r--docs/reference/matchers.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/matchers.md b/docs/reference/matchers.md
index c25c5a85..a5109d98 100644
--- a/docs/reference/matchers.md
+++ b/docs/reference/matchers.md
@@ -261,7 +261,7 @@ which must be a permanent callback.
## Defining Matchers
-| Macro | Description |
+| Macro foo | 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`. |
@@ -269,7 +269,7 @@ which must be a permanent callback.
**Notes:**
-1. The `MATCHER*` macros cannot be used inside a function or class. foo
+1. The `MATCHER*` macros cannot be used inside a function or class.
2. The matcher body must be *purely functional* (i.e. it cannot have any side
effect, and the result must not depend on anything other than the value
being matched and the matcher parameters).