From 5af948b30eea9879d6ea7391b335b8ab3fa8ce75 Mon Sep 17 00:00:00 2001 From: Gennadiy Civil Date: Mon, 15 Jul 2019 16:01:12 -0400 Subject: [PATCH] Preparation for including docs in round-trip with OSS --- googlemock/docs/cook_book.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/googlemock/docs/cook_book.md b/googlemock/docs/cook_book.md index ef2818ad..a08dc1cd 100644 --- a/googlemock/docs/cook_book.md +++ b/googlemock/docs/cook_book.md @@ -467,7 +467,7 @@ class ScopedMockLog : public LogSink { ``` By defining a new mock method with a trimmed argument list, we make the mock -class more user-friendly. +class more user-friendly. This technique may also be applied to make overloaded methods more amenable to mocking. For example, when overloads have been used to implement default @@ -1455,7 +1455,7 @@ mock object and gMock. #### Knowing When to Expect {#UseOnCall} - + **`ON_CALL`** is likely the *single most under-utilized construct* in gMock.