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
dc2dbf1f
Commit
dc2dbf1f
authored
Jul 14, 2016
by
mazong1123
Browse files
Reformatted the Unprintable operator== code style.
parent
531bf5c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
googlemock/test/gmock-matchers_test.cc
googlemock/test/gmock-matchers_test.cc
+4
-1
No files found.
googlemock/test/gmock-matchers_test.cc
View file @
dc2dbf1f
...
...
@@ -871,7 +871,10 @@ class Unprintable {
char
c_
;
};
inline
bool
operator
==
(
const
Unprintable
&
,
/* lhs */
const
Unprintable
&
/* rhs */
)
{
return
true
;
}
inline
bool
operator
==
(
const
Unprintable
&
/* lhs */
,
const
Unprintable
&
/* rhs */
)
{
return
true
;
}
TEST
(
EqTest
,
CanDescribeSelf
)
{
Matcher
<
Unprintable
>
m
=
Eq
(
Unprintable
());
...
...
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