Remove unused variable
This commit is contained in:
parent
3cf65b5d86
commit
1ee8079651
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user