summaryrefslogtreecommitdiff
path: root/absl/base/internal/exception_testing.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/base/internal/exception_testing.h')
-rw-r--r--absl/base/internal/exception_testing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/internal/exception_testing.h b/absl/base/internal/exception_testing.h
index fd89a3f6..0cf7918e 100644
--- a/absl/base/internal/exception_testing.h
+++ b/absl/base/internal/exception_testing.h
@@ -35,7 +35,7 @@
EXPECT_DEATH(expr, ".*")
#else
#define ABSL_BASE_INTERNAL_EXPECT_FAIL(expr, exception_t, text) \
- EXPECT_DEATH(expr, text)
+ EXPECT_DEATH_IF_SUPPORTED(expr, text)
#endif