Remove unused variable
This commit is contained in:
parent
3cf65b5d86
commit
1ee8079651
|
@ -223,7 +223,6 @@ TEST(NiceMockTest, ThrowsExceptionForUnknownReturnTypes) {
|
||||||
nice_foo.ReturnNonDefaultConstructible();
|
nice_foo.ReturnNonDefaultConstructible();
|
||||||
FAIL();
|
FAIL();
|
||||||
} catch (const std::runtime_error& ex) {
|
} catch (const std::runtime_error& ex) {
|
||||||
const std::string exception_msg(ex.what());
|
|
||||||
EXPECT_THAT(ex.what(), HasSubstr("ReturnNonDefaultConstructible"));
|
EXPECT_THAT(ex.what(), HasSubstr("ReturnNonDefaultConstructible"));
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user