aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test
diff options
context:
space:
mode:
authormazong1123 <mazong1123@gmail.com>2016-07-14 16:49:42 +0800
committermazong1123 <mazong1123@gmail.com>2016-07-14 16:49:42 +0800
commitdc2dbf1fbf1d10c02c3c3912e4b688333e310aa2 (patch)
tree4e1261ac0cbec32a486c2e8a01d0d4e4759cda0a /googlemock/test
parent531bf5c41071d3251cb152fb5e4f2400c6ed9115 (diff)
downloadgoogletest-dc2dbf1fbf1d10c02c3c3912e4b688333e310aa2.tar.gz
googletest-dc2dbf1fbf1d10c02c3c3912e4b688333e310aa2.tar.bz2
googletest-dc2dbf1fbf1d10c02c3c3912e4b688333e310aa2.zip
Reformatted the Unprintable operator== code style.
Diffstat (limited to 'googlemock/test')
-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 29c9dc2c..9f62c3d8 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());