summaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock/gmock-actions.h
diff options
context:
space:
mode:
authorHector Dearman <hjd@google.com>2017-06-19 17:43:55 (GMT)
committerHector Dearman <hjd@google.com>2017-06-19 17:43:55 (GMT)
commit41ad243d930e9f28665cc4cb1127917f0c0731d6 (patch)
tree313576f4fa511ac804a17ac89f5ec5c4ef050a78 /googlemock/include/gmock/gmock-actions.h
parentc2d90bddc6a2a562ee7750c14351e9ca16a6a37a (diff)
downloadgoogletest-41ad243d930e9f28665cc4cb1127917f0c0731d6.zip
googletest-41ad243d930e9f28665cc4cb1127917f0c0731d6.tar.gz
googletest-41ad243d930e9f28665cc4cb1127917f0c0731d6.tar.bz2
Fix typo in gmock-actions.hrefs/pull/1123/head
This upstreams a Google-internal change (141765019).
Diffstat (limited to 'googlemock/include/gmock/gmock-actions.h')
-rw-r--r--googlemock/include/gmock/gmock-actions.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/googlemock/include/gmock/gmock-actions.h b/googlemock/include/gmock/gmock-actions.h
index b3f654a..845c823 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