Remove mention of using `ASSERT_...` statements inside custom matcher definitions.
PiperOrigin-RevId: 691994071
Change-Id: I63913152217c99b8c08ae6af8924bc28b02aa9d0
diff --git a/docs/gmock_cook_book.md b/docs/gmock_cook_book.md
index f1b10b4..4cc9bb4 100644
--- a/docs/gmock_cook_book.md
+++ b/docs/gmock_cook_book.md
@@ -3387,9 +3387,9 @@
#### Using EXPECT_ Statements in Matchers
-You can also use `EXPECT_...` (and `ASSERT_...`) statements inside custom
-matcher definitions. In many cases, this allows you to write your matcher more
-concisely while still providing an informative error message. For example:
+You can also use `EXPECT_...` statements inside custom matcher definitions. In
+many cases, this allows you to write your matcher more concisely while still
+providing an informative error message. For example:
```cpp
MATCHER(IsDivisibleBy7, "") {