diff options
author | Abseil Team <absl-team@google.com> | 2024-11-01 01:03:18 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-11-01 01:04:00 (GMT) |
commit | 1204d634444b0ba6da53201a8b6caf2a502d883c (patch) | |
tree | 5a74f019c8709775c9ecea821fe8459795314e58 | |
parent | 5ed21863955149a5a877a53d7d5045b6919090ed (diff) | |
download | googletest-1204d634444b0ba6da53201a8b6caf2a502d883c.zip googletest-1204d634444b0ba6da53201a8b6caf2a502d883c.tar.gz googletest-1204d634444b0ba6da53201a8b6caf2a502d883c.tar.bz2 |
Remove mention of using `ASSERT_...` statements inside custom matcher definitions.
PiperOrigin-RevId: 691994071
Change-Id: I63913152217c99b8c08ae6af8924bc28b02aa9d0
-rw-r--r-- | docs/gmock_cook_book.md | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ With this definition, the above assertion will give a better message: #### 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, "") { |