From 64e0945546ec8c331af27ebffcca44a4006e9e35 Mon Sep 17 00:00:00 2001 From: SunBlack Date: Wed, 4 Jan 2023 17:24:07 +0100 Subject: [PATCH] Fix typos found by codespell --- googlemock/test/gmock-matchers-comparisons_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/googlemock/test/gmock-matchers-comparisons_test.cc b/googlemock/test/gmock-matchers-comparisons_test.cc index 0cf731ff..83242d64 100644 --- a/googlemock/test/gmock-matchers-comparisons_test.cc +++ b/googlemock/test/gmock-matchers-comparisons_test.cc @@ -864,7 +864,7 @@ struct Type { }; TEST(TypedEqTest, HasSpecifiedType) { - // Verfies that the type of TypedEq(v) is Matcher. + // Verifies that the type of TypedEq(v) is Matcher. Type>::IsTypeOf(TypedEq(5)); Type>::IsTypeOf(TypedEq(5)); } @@ -1530,7 +1530,7 @@ TEST(PairTest, MatchesCorrectly) { EXPECT_THAT(p, Pair(25, "foo")); EXPECT_THAT(p, Pair(Ge(20), HasSubstr("o"))); - // 'first' doesnt' match, but 'second' matches. + // 'first' doesn't match, but 'second' matches. EXPECT_THAT(p, Not(Pair(42, "foo"))); EXPECT_THAT(p, Not(Pair(Lt(25), "foo")));