Skip to content

Commit 1204d63

Browse files
Abseil Teamcopybara-github
authored andcommitted
Remove mention of using ASSERT_... statements inside custom matcher definitions.
PiperOrigin-RevId: 691994071 Change-Id: I63913152217c99b8c08ae6af8924bc28b02aa9d0
1 parent 5ed2186 commit 1204d63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/gmock_cook_book.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3387,9 +3387,9 @@ With this definition, the above assertion will give a better message:
33873387

33883388
#### Using EXPECT_ Statements in Matchers
33893389

3390-
You can also use `EXPECT_...` (and `ASSERT_...`) statements inside custom
3391-
matcher definitions. In many cases, this allows you to write your matcher more
3392-
concisely while still providing an informative error message. For example:
3390+
You can also use `EXPECT_...` statements inside custom matcher definitions. In
3391+
many cases, this allows you to write your matcher more concisely while still
3392+
providing an informative error message. For example:
33933393

33943394
```cpp
33953395
MATCHER(IsDivisibleBy7, "") {

0 commit comments

Comments
 (0)