Merge pull request #2698 from aribibek:patch-1

PiperOrigin-RevId: 312342956
This commit is contained in:
Derek Mauro 2020-05-28 19:54:19 -04:00
commit 99ea9ca3fe

View File

@ -169,7 +169,7 @@ you'll get a compiler error. We used to require the arguments to support the
`<<` is supported, it will be called to print the arguments when the assertion `<<` is supported, it will be called to print the arguments when the assertion
fails; otherwise googletest will attempt to print them in the best way it can. fails; otherwise googletest will attempt to print them in the best way it can.
For more details and how to customize the printing of the arguments, see the For more details and how to customize the printing of the arguments, see the
[documentation](../../googlemock/docs/cook_book.md#teaching-gmock-how-to-print-your-values). [documentation](./advanced.md#teaching-googletest-how-to-print-your-values).
These assertions can work with a user-defined type, but only if you define the These assertions can work with a user-defined type, but only if you define the
corresponding comparison operator (e.g., `==` or `<`). Since this is discouraged corresponding comparison operator (e.g., `==` or `<`). Since this is discouraged