mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
Merge pull request #4115 from SunBlack:codespell
PiperOrigin-RevId: 505740434 Change-Id: I963f6a6b667a030c87f211173f578f7c35733e68
This commit is contained in:
commit
e3dbee4b35
@ -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")));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user