Abseil Team 2954cb8d87 Add example using EXPECT statement in custom matcher
`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
2024-05-02 16:07:12 -07:00
..
2021-06-02 17:55:09 -04:00
2021-05-25 13:34:39 -04:00
2021-02-19 13:55:48 -05:00
2021-02-19 13:55:48 -05:00
2023-09-14 10:37:04 -07:00
2021-02-26 17:58:04 -05:00
2023-06-19 11:21:44 -06:00