"googlemock/docs/cook_book.md" did not exist on "ec19d455bc1224fc2ca8c43d4a0e3d528a7e2a26"
Commit 1ee80796 authored by Maurice Gilden's avatar Maurice Gilden
Browse files

Remove unused variable

parent 3cf65b5d
...@@ -223,7 +223,6 @@ TEST(NiceMockTest, ThrowsExceptionForUnknownReturnTypes) { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment