summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorslowy07 <slowy.arfy@gmail.com>2021-07-24 10:38:47 (GMT)
committerslowy07 <slowy.arfy@gmail.com>2021-07-24 10:38:47 (GMT)
commit2f3e2e39cc4c399b66711e6b720bf22373e841b5 (patch)
tree691f6f45bf9aed271619008196d187db98227e10 /googlemock
parent96f4ce02a3a78d63981c67acbd368945d11d7d70 (diff)
downloadgoogletest-2f3e2e39cc4c399b66711e6b720bf22373e841b5.zip
googletest-2f3e2e39cc4c399b66711e6b720bf22373e841b5.tar.gz
googletest-2f3e2e39cc4c399b66711e6b720bf22373e841b5.tar.bz2
fix: typo codespelling commentrefs/pull/3499/head
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/include/gmock/gmock-matchers.h2
-rw-r--r--googlemock/include/gmock/gmock-spec-builders.h2
-rw-r--r--googlemock/test/gmock-actions_test.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h
index 7e59fbe..8c5ccb7 100644
--- a/googlemock/include/gmock/gmock-matchers.h
+++ b/googlemock/include/gmock/gmock-matchers.h
@@ -4950,7 +4950,7 @@ Pair(FirstMatcher first_matcher, SecondMatcher second_matcher) {
namespace no_adl {
// Conditional() creates a matcher that conditionally uses either the first or
// second matcher provided. For example, we could create an `equal if, and only
-// if' matcher using the Conditonal wrapper as follows:
+// if' matcher using the Conditional wrapper as follows:
//
// EXPECT_THAT(result, Conditional(condition, Eq(expected), Ne(expected)));
template <typename MatcherTrue, typename MatcherFalse>
diff --git a/googlemock/include/gmock/gmock-spec-builders.h b/googlemock/include/gmock/gmock-spec-builders.h
index b46cebe..eb45aba 100644
--- a/googlemock/include/gmock/gmock-spec-builders.h
+++ b/googlemock/include/gmock/gmock-spec-builders.h
@@ -888,7 +888,7 @@ class GTEST_API_ ExpectationBase {
mutable Mutex mutex_; // Protects action_count_checked_.
}; // class ExpectationBase
-// Impements an expectation for the given function type.
+// Implements an expectation for the given function type.
template <typename F>
class TypedExpectation : public ExpectationBase {
public:
diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc
index e1ca7fe..fc62893 100644
--- a/googlemock/test/gmock-actions_test.cc
+++ b/googlemock/test/gmock-actions_test.cc
@@ -384,7 +384,7 @@ TEST(ActionInterfaceTest, MakeAction) {
EXPECT_EQ(5, action.Perform(std::make_tuple(true, 5)));
}
-// Tests that Action<F> can be contructed from a pointer to
+// Tests that Action<F> can be constructed from a pointer to
// ActionInterface<F>.
TEST(ActionTest, CanBeConstructedFromActionInterface) {
Action<MyGlobalFunction> action(new MyActionImpl);