aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test
diff options
context:
space:
mode:
authorPiotr Nycz <piotrwn1@gmail.com>2019-10-25 10:29:15 +0200
committerPiotr Nycz <piotrwn1@gmail.com>2019-10-25 10:29:15 +0200
commit5ff72f5295f315a23f83ce4cc86380d5bfed0787 (patch)
tree49519cba9ef2aa976ffbfe16049f8408b5cd15c2 /googlemock/test
parentd072682119f8673e090e2985f2cb5eb6a7b09fe0 (diff)
downloadgoogletest-5ff72f5295f315a23f83ce4cc86380d5bfed0787.tar.gz
googletest-5ff72f5295f315a23f83ce4cc86380d5bfed0787.tar.bz2
googletest-5ff72f5295f315a23f83ce4cc86380d5bfed0787.zip
Apply 80chars limit
Issue 2527
Diffstat (limited to 'googlemock/test')
-rw-r--r--googlemock/test/gmock-actions_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc
index 52f140d1..e3c1d6cb 100644
--- a/googlemock/test/gmock-actions_test.cc
+++ b/googlemock/test/gmock-actions_test.cc
@@ -674,7 +674,8 @@ TEST(ReturnRefTest, DoesNotWorkForTemporary) {
auto nonScalarValue = []() -> std::string { return "ABC"; };
EXPECT_FALSE(CanCallReturnRef(nonScalarValue()));
- // cannot use here callable returning "const scalar type" because C++ ignores such const for scalar return type, so the static_cast
+ // cannot use here callable returning "const scalar type",
+ // because such const for scalar return type is ignored
EXPECT_FALSE(CanCallReturnRef(static_cast<const int>(321)));
auto constNonScalarValue = []() -> const std::string { return "CBA"; };