mirror of
https://github.com/google/googletest.git
synced 2025-11-29 23:57:26 -05:00
Fix typo.
PiperOrigin-RevId: 816417379 Change-Id: I4ccfe2bf291b8c2b318ac6e2d0c2d176684e42c8
This commit is contained in:
committed by
Copybara-Service
parent
de1c609262
commit
279f847946
@@ -130,7 +130,7 @@ TEST(BarTest, DoesThis) {
|
|||||||
## Setting Default Actions {#OnCall}
|
## Setting Default Actions {#OnCall}
|
||||||
|
|
||||||
gMock has a **built-in default action** for any function that returns `void`,
|
gMock has a **built-in default action** for any function that returns `void`,
|
||||||
`bool`, a numeric value, or a pointer. In C++11, it will additionally returns
|
`bool`, a numeric value, or a pointer. In C++11, it additionally returns
|
||||||
the default-constructed value, if one exists for the given type.
|
the default-constructed value, if one exists for the given type.
|
||||||
|
|
||||||
To customize the default action for functions with return type `T`, use
|
To customize the default action for functions with return type `T`, use
|
||||||
|
|||||||
Reference in New Issue
Block a user