Remove unused variable

This commit is contained in:
Maurice Gilden 2017-08-21 10:10:14 +02:00
parent 3cf65b5d86
commit 1ee8079651

View File

@ -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