Commit 37ae1fc5 authored by Gennadiy Civil's avatar Gennadiy Civil
Browse files

Merge pull request #2147 from ngie-eign:gtest-test-death-test-dont-hardcode-test-name

PiperOrigin-RevId: 235248114
parents b6473fcf cd09534d
......@@ -68,7 +68,7 @@ TEST(CxxExceptionDeathTest, PrintsMessageForStdExceptions) {
"exceptional message");
// Verifies that the location is mentioned in the failure text.
EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""),
"googletest-death-test_ex_test.cc");
__FILE__);
}
# endif // GTEST_HAS_EXCEPTIONS
......
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