Merge pull request #2147 from ngie-eign:gtest-test-death-test-dont-hardcode-test-name
PiperOrigin-RevId: 235248114
This commit is contained in:
commit
37ae1fc5e6
|
@ -68,7 +68,7 @@ TEST(CxxExceptionDeathTest, PrintsMessageForStdExceptions) {
|
||||||
"exceptional message");
|
"exceptional message");
|
||||||
// Verifies that the location is mentioned in the failure text.
|
// Verifies that the location is mentioned in the failure text.
|
||||||
EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""),
|
EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""),
|
||||||
"googletest-death-test_ex_test.cc");
|
__FILE__);
|
||||||
}
|
}
|
||||||
# endif // GTEST_HAS_EXCEPTIONS
|
# endif // GTEST_HAS_EXCEPTIONS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user