diff options
author | gpetit <gaspard.petit@eidosmontreal.com> | 2017-08-14 12:49:22 -0400 |
---|---|---|
committer | gpetit <gaspard.petit@eidosmontreal.com> | 2017-08-14 12:49:22 -0400 |
commit | 6219d60eb9b71d98c28fe541aeec4a1db284730e (patch) | |
tree | a9f61d077c3183ab4b458de7624ab2d7a05cd0e3 /googlemock/include/gmock/gmock-actions.h | |
parent | c113a7151d282cd32d246062783c83ccc65feb28 (diff) | |
parent | 673c975a963f356b19fea90cb57b69192253da2a (diff) | |
download | googletest-6219d60eb9b71d98c28fe541aeec4a1db284730e.tar.gz googletest-6219d60eb9b71d98c28fe541aeec4a1db284730e.tar.bz2 googletest-6219d60eb9b71d98c28fe541aeec4a1db284730e.zip |
Merge remote-tracking branch 'origin/master' into support_xboxone
Diffstat (limited to 'googlemock/include/gmock/gmock-actions.h')
-rw-r--r-- | googlemock/include/gmock/gmock-actions.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/googlemock/include/gmock/gmock-actions.h b/googlemock/include/gmock/gmock-actions.h index b3f654af..845c8232 100644 --- a/googlemock/include/gmock/gmock-actions.h +++ b/googlemock/include/gmock/gmock-actions.h @@ -1029,9 +1029,9 @@ class DoBothAction { // return sqrt(x*x + y*y); // } // ... -// EXEPCT_CALL(mock, Foo("abc", _, _)) +// EXPECT_CALL(mock, Foo("abc", _, _)) // .WillOnce(Invoke(DistanceToOriginWithLabel)); -// EXEPCT_CALL(mock, Bar(5, _, _)) +// EXPECT_CALL(mock, Bar(5, _, _)) // .WillOnce(Invoke(DistanceToOriginWithIndex)); // // you could write @@ -1041,8 +1041,8 @@ class DoBothAction { // return sqrt(x*x + y*y); // } // ... -// EXEPCT_CALL(mock, Foo("abc", _, _)).WillOnce(Invoke(DistanceToOrigin)); -// EXEPCT_CALL(mock, Bar(5, _, _)).WillOnce(Invoke(DistanceToOrigin)); +// EXPECT_CALL(mock, Foo("abc", _, _)).WillOnce(Invoke(DistanceToOrigin)); +// EXPECT_CALL(mock, Bar(5, _, _)).WillOnce(Invoke(DistanceToOrigin)); typedef internal::IgnoredValue Unused; // This constructor allows us to turn an Action<From> object into an |