Make EXPECT_DEATH_IF_SUPPORTED work with matchers
commit33af80a883ddc33d9c0fac0a5b4578301efb18de
authorAbseil Team <absl-team@google.com>
Mon, 13 May 2024 14:16:07 +0000 (13 07:16 -0700)
committerCopybara-Service <copybara-worker@google.com>
Mon, 13 May 2024 14:16:53 +0000 (13 07:16 -0700)
tree8c1dff8ace5b9c1a7f71a508b24df16cc6efeeae
parentfa6de7f4382f5c8fb8b9e32eea28a2eb44966c32
Make EXPECT_DEATH_IF_SUPPORTED work with matchers

If death tests were not supported the macro would try
to force the second parameter as a string. The second
parameter can be a matcher or a string.

PiperOrigin-RevId: 633199517
Change-Id: If5e71b4be0b569adb273eb4960202197bb264a8f
googletest/include/gtest/gtest-death-test.h
googletest/include/gtest/internal/gtest-death-test-internal.h