Fix remaining typos discovered by codespell
This commit is contained in:
@@ -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> { \
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user