Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/googletest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormazong1123 <mazong1123@gmail.com>2016-07-14 11:49:42 +0300
committermazong1123 <mazong1123@gmail.com>2016-07-14 11:49:42 +0300
commitdc2dbf1fbf1d10c02c3c3912e4b688333e310aa2 (patch)
tree4e1261ac0cbec32a486c2e8a01d0d4e4759cda0a
parent531bf5c41071d3251cb152fb5e4f2400c6ed9115 (diff)
Reformatted the Unprintable operator== code style.
-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());