diff options
author | Herbert Thielen <thielen@hs-worms.de> | 2017-08-09 11:03:27 +0200 |
---|---|---|
committer | Herbert Thielen <thielen@hs-worms.de> | 2017-08-09 11:03:27 +0200 |
commit | e022dcded846c36c14dcbf97d49de9ca68ddd6fc (patch) | |
tree | 8e65719ddf45c8f99b2ceae1a8dc24c84d7f2a90 /googlemock/include/gmock/gmock-actions.h | |
parent | 6b896774815127c11de3aa4400454e88b9763020 (diff) | |
parent | 461713fec4603806d2049835c0790bf94d2db631 (diff) | |
download | googletest-e022dcded846c36c14dcbf97d49de9ca68ddd6fc.tar.gz googletest-e022dcded846c36c14dcbf97d49de9ca68ddd6fc.tar.bz2 googletest-e022dcded846c36c14dcbf97d49de9ca68ddd6fc.zip |
Merge branch 'master' into hethi/remove-old-docs
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 |