Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
64e09455
Commit
64e09455
authored
Jan 04, 2023
by
SunBlack
Browse files
Fix typos found by codespell
parent
3a99ab6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googlemock/test/gmock-matchers-comparisons_test.cc
googlemock/test/gmock-matchers-comparisons_test.cc
+2
-2
No files found.
googlemock/test/gmock-matchers-comparisons_test.cc
View file @
64e09455
...
@@ -864,7 +864,7 @@ struct Type {
...
@@ -864,7 +864,7 @@ struct Type {
};
};
TEST
(
TypedEqTest
,
HasSpecifiedType
)
{
TEST
(
TypedEqTest
,
HasSpecifiedType
)
{
// Verfies that the type of TypedEq<T>(v) is Matcher<T>.
// Ver
i
fies that the type of TypedEq<T>(v) is Matcher<T>.
Type
<
Matcher
<
int
>>::
IsTypeOf
(
TypedEq
<
int
>
(
5
));
Type
<
Matcher
<
int
>>::
IsTypeOf
(
TypedEq
<
int
>
(
5
));
Type
<
Matcher
<
double
>>::
IsTypeOf
(
TypedEq
<
double
>
(
5
));
Type
<
Matcher
<
double
>>::
IsTypeOf
(
TypedEq
<
double
>
(
5
));
}
}
...
@@ -1530,7 +1530,7 @@ TEST(PairTest, MatchesCorrectly) {
...
@@ -1530,7 +1530,7 @@ TEST(PairTest, MatchesCorrectly) {
EXPECT_THAT
(
p
,
Pair
(
25
,
"foo"
));
EXPECT_THAT
(
p
,
Pair
(
25
,
"foo"
));
EXPECT_THAT
(
p
,
Pair
(
Ge
(
20
),
HasSubstr
(
"o"
)));
EXPECT_THAT
(
p
,
Pair
(
Ge
(
20
),
HasSubstr
(
"o"
)));
// 'first' doesn
t
' match, but 'second' matches.
// 'first' doesn'
t
match, but 'second' matches.
EXPECT_THAT
(
p
,
Not
(
Pair
(
42
,
"foo"
)));
EXPECT_THAT
(
p
,
Not
(
Pair
(
42
,
"foo"
)));
EXPECT_THAT
(
p
,
Not
(
Pair
(
Lt
(
25
),
"foo"
)));
EXPECT_THAT
(
p
,
Not
(
Pair
(
Lt
(
25
),
"foo"
)));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment