diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2017-08-08 16:17:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-08 16:17:52 -0400 |
commit | 461713fec4603806d2049835c0790bf94d2db631 (patch) | |
tree | 8e2fdfc415db65076e6d538385dd30a031d124e6 /googlemock/include | |
parent | aadf53d2a2c1791e466f0303319fc0cfbe87d46d (diff) | |
parent | 41ad243d930e9f28665cc4cb1127917f0c0731d6 (diff) | |
download | googletest-461713fec4603806d2049835c0790bf94d2db631.tar.gz googletest-461713fec4603806d2049835c0790bf94d2db631.tar.bz2 googletest-461713fec4603806d2049835c0790bf94d2db631.zip |
Merge pull request #1123 from chromy/upstream-141765019
Fix typo in gmock-actions.h
Diffstat (limited to 'googlemock/include')
-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 |