mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
`EXPECT_...` statements can be used inside matcher definitions – this is an important option that is glossed over in this documentation. Users should definitely be aware of this option, since writing custom messages to the `result_listener` can be very cumbersome (and unnecessary) sometimes. This change adds a relevant example and includes the associated error message it provides on failure. PiperOrigin-RevId: 630206661 Change-Id: Idee00ba77ce3c1245597aa082f9cd0efff16aceb |
||
|---|---|---|
| .. | ||
| _data | ||
| _layouts | ||
| _sass | ||
| assets/css | ||
| reference | ||
| _config.yml | ||
| advanced.md | ||
| community_created_documentation.md | ||
| faq.md | ||
| gmock_cheat_sheet.md | ||
| gmock_cook_book.md | ||
| gmock_faq.md | ||
| gmock_for_dummies.md | ||
| index.md | ||
| pkgconfig.md | ||
| platforms.md | ||
| primer.md | ||
| quickstart-bazel.md | ||
| quickstart-cmake.md | ||
| samples.md | ||