summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-nice-strict_test.cc
diff options
context:
space:
mode:
authorMaurice Gilden <Maurice.Gilden@teamviewer.com>2017-08-21 08:10:14 (GMT)
committerMaurice Gilden <Maurice.Gilden@teamviewer.com>2017-08-21 08:10:14 (GMT)
commit1ee8079651584b6bcc444f4b7a66dd2c65a79eb6 (patch)
treec8fd5daf18f2a8dc65d6a8a2088f328bf4cd81d5 /googlemock/test/gmock-nice-strict_test.cc
parent3cf65b5d86d46cceb96ac44672fad84e2d5ad5a7 (diff)
downloadgoogletest-1ee8079651584b6bcc444f4b7a66dd2c65a79eb6.zip
googletest-1ee8079651584b6bcc444f4b7a66dd2c65a79eb6.tar.gz
googletest-1ee8079651584b6bcc444f4b7a66dd2c65a79eb6.tar.bz2
Remove unused variablerefs/pull/1206/head
Diffstat (limited to 'googlemock/test/gmock-nice-strict_test.cc')
-rw-r--r--googlemock/test/gmock-nice-strict_test.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/googlemock/test/gmock-nice-strict_test.cc b/googlemock/test/gmock-nice-strict_test.cc
index fce9ca5..0eac643 100644
--- a/googlemock/test/gmock-nice-strict_test.cc
+++ b/googlemock/test/gmock-nice-strict_test.cc
@@ -223,7 +223,6 @@ TEST(NiceMockTest, ThrowsExceptionForUnknownReturnTypes) {
nice_foo.ReturnNonDefaultConstructible();
FAIL();
} catch (const std::runtime_error& ex) {
- const std::string exception_msg(ex.what());
EXPECT_THAT(ex.what(), HasSubstr("ReturnNonDefaultConstructible"));
}
#else