diff options
author | Christian Clauss <cclauss@me.com> | 2021-09-24 06:09:32 (GMT) |
---|---|---|
committer | Christian Clauss <cclauss@me.com> | 2021-09-24 06:09:32 (GMT) |
commit | ee1be03b43dd78916a0a2118c6e31090fdaed286 (patch) | |
tree | 7329af52fdb033e73ab00f3699281e7f32b6f543 /googlemock | |
parent | e4717df71a4f45bf9f0ac88c6cd9846a0bc248dd (diff) | |
download | googletest-ee1be03b43dd78916a0a2118c6e31090fdaed286.zip googletest-ee1be03b43dd78916a0a2118c6e31090fdaed286.tar.gz googletest-ee1be03b43dd78916a0a2118c6e31090fdaed286.tar.bz2 |
Fix remaining typos discovered by codespellrefs/pull/3581/head
Diffstat (limited to 'googlemock')
-rw-r--r-- | googlemock/include/gmock/gmock-matchers.h | 2 | ||||
-rw-r--r-- | googlemock/include/gmock/gmock-spec-builders.h | 2 | ||||
-rw-r--r-- | googlemock/test/gmock-matchers_test.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index d5bd4a9..6863560 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -5421,7 +5421,7 @@ PolymorphicMatcher<internal::ExceptionMatcherImpl<Err>> ThrowsMessage( #define EXPECT_THAT(value, matcher) EXPECT_PRED_FORMAT1(\ ::testing::internal::MakePredicateFormatterFromMatcher(matcher), value) -// MATCHER* macroses itself are listed below. +// MATCHER* macros itself are listed below. #define MATCHER(name, description) \ class name##Matcher \ : public ::testing::internal::MatcherBaseImpl<name##Matcher> { \ diff --git a/googlemock/include/gmock/gmock-spec-builders.h b/googlemock/include/gmock/gmock-spec-builders.h index eb45aba..8e9f2f1 100644 --- a/googlemock/include/gmock/gmock-spec-builders.h +++ b/googlemock/include/gmock/gmock-spec-builders.h @@ -1508,7 +1508,7 @@ class FunctionMocker<R(Args...)> final : public UntypedFunctionMockerBase { // Performs the default action of this mock function on the given // arguments and returns the result. Asserts (or throws if - // exceptions are enabled) with a helpful call descrption if there + // exceptions are enabled) with a helpful call description if there // is no valid return value. This method doesn't depend on the // mutable state of this object, and thus can be called concurrently // without locking. diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc index cd5ae1a..3af3d71 100644 --- a/googlemock/test/gmock-matchers_test.cc +++ b/googlemock/test/gmock-matchers_test.cc @@ -8405,7 +8405,7 @@ TEST(AnyOfArrayTest, ExplainsMatchResultCorrectly) { // Explain with matchers const Matcher<int> g1 = AnyOfArray({GreaterThan(1)}); const Matcher<int> g2 = AnyOfArray({GreaterThan(1), GreaterThan(2)}); - // Explains the first positiv match and all prior negative matches... + // Explains the first positive match and all prior negative matches... EXPECT_EQ("which is 1 less than 1", Explain(g1, 0)); EXPECT_EQ("which is the same as 1", Explain(g1, 1)); EXPECT_EQ("which is 1 more than 1", Explain(g1, 2)); |