diff options
author | SunBlack <SunBlack@users.noreply.github.com> | 2023-01-04 16:24:07 (GMT) |
---|---|---|
committer | SunBlack <SunBlack@users.noreply.github.com> | 2023-01-04 16:36:11 (GMT) |
commit | 64e0945546ec8c331af27ebffcca44a4006e9e35 (patch) | |
tree | a7035748687a06019b07841d41f778db82c71ac8 /googlemock/test/gmock-matchers-comparisons_test.cc | |
parent | 3a99ab6d8326c845af0672a0cd64dd05ad7734fe (diff) | |
download | googletest-64e0945546ec8c331af27ebffcca44a4006e9e35.zip googletest-64e0945546ec8c331af27ebffcca44a4006e9e35.tar.gz googletest-64e0945546ec8c331af27ebffcca44a4006e9e35.tar.bz2 |
Fix typos found by codespellrefs/pull/4115/head
Diffstat (limited to 'googlemock/test/gmock-matchers-comparisons_test.cc')
-rw-r--r-- | googlemock/test/gmock-matchers-comparisons_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/test/gmock-matchers-comparisons_test.cc b/googlemock/test/gmock-matchers-comparisons_test.cc index 0cf731f..83242d6 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<T>(v) is Matcher<T>. + // Verifies that the type of TypedEq<T>(v) is Matcher<T>. Type<Matcher<int>>::IsTypeOf(TypedEq<int>(5)); Type<Matcher<double>>::IsTypeOf(TypedEq<double>(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"))); |