Index: minidump/minidump_thread_writer_test.cc |
diff --git a/minidump/minidump_thread_writer_test.cc b/minidump/minidump_thread_writer_test.cc |
index 291f70a3957c98327afa589bbaa58b37c27f4e49..94ec200a1f68dd38c121f0e8cacfbe4158b94a8c 100644 |
--- a/minidump/minidump_thread_writer_test.cc |
+++ b/minidump/minidump_thread_writer_test.cc |
@@ -34,6 +34,7 @@ |
#include "snapshot/test/test_memory_snapshot.h" |
#include "snapshot/test/test_thread_snapshot.h" |
#include "util/file/string_file.h" |
+#include "util/test/gtest_death_check.h" |
namespace crashpad { |
namespace test { |
@@ -674,11 +675,12 @@ TEST(MinidumpThreadWriterDeathTest, NoContext) { |
minidump_file_writer.AddStream(thread_list_writer.Pass()); |
StringFile string_file; |
- ASSERT_DEATH(minidump_file_writer.WriteEverything(&string_file), "context_"); |
+ ASSERT_DEATH_CHECK(minidump_file_writer.WriteEverything(&string_file), |
+ "context_"); |
} |
TEST(MinidumpThreadWriterDeathTest, InitializeFromSnapshot_NoContext) { |
- ASSERT_DEATH( |
+ ASSERT_DEATH_CHECK( |
RunInitializeFromSnapshotTest<InitializeFromSnapshotNoContextTraits>( |
false), "context_"); |
} |