Commit b74eb888 authored by Phil Willoughby's avatar Phil Willoughby Committed by Facebook Github Bot

Fix for ExceptionWrapperTest

Summary:
Some platforms do not output anything when `std::terminate` is called; this
fixes the test on those platforms.

Reviewed By: yfeldblum, jsedgwick

Differential Revision: D4001052

fbshipit-source-id: 671fbca9d6d22e372189b6554440c268c0cff60b
parent 0b894c40
......@@ -229,13 +229,9 @@ TEST(ExceptionWrapper, getExceptionPtr_test) {
EXPECT_THROW(std::rethrow_exception(eptr), IntException);
// Test with empty ew.
// Disabling pending fix for fbandroid: t13822116
/*
exception_wrapper empty_ew;
eptr = empty_ew.getExceptionPtr();
EXPECT_DEATH(std::rethrow_exception(eptr), "exception");
*/
EXPECT_FALSE(eptr);
}
TEST(ExceptionWrapper, with_exception_deduction) {
......
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