fix typos

This commit is contained in:
Hyuk Myeong
2021-06-13 19:50:40 +09:00
parent e2239ee604
commit 1745a405eb
7 changed files with 17 additions and 17 deletions

View File

@@ -259,7 +259,7 @@ which must be a permanent callback.
## Defining Matchers
| Matcher | 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`. |