summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormazong1123 <mazong1123@gmail.com>2016-07-14 08:49:42 (GMT)
committermazong1123 <mazong1123@gmail.com>2016-07-14 08:49:42 (GMT)
commitdc2dbf1fbf1d10c02c3c3912e4b688333e310aa2 (patch)
tree4e1261ac0cbec32a486c2e8a01d0d4e4759cda0a
parent531bf5c41071d3251cb152fb5e4f2400c6ed9115 (diff)
downloadgoogletest-dc2dbf1fbf1d10c02c3c3912e4b688333e310aa2.zip
googletest-dc2dbf1fbf1d10c02c3c3912e4b688333e310aa2.tar.gz
googletest-dc2dbf1fbf1d10c02c3c3912e4b688333e310aa2.tar.bz2
Reformatted the Unprintable operator== code style.refs/pull/821/head
-rw-r--r--googlemock/test/gmock-matchers_test.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc
index 29c9dc2..9f62c3d 100644
--- a/googlemock/test/gmock-matchers_test.cc
+++ b/googlemock/test/gmock-matchers_test.cc
@@ -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());