Index: minidump/minidump_module_writer_test.cc |
diff --git a/minidump/minidump_module_writer_test.cc b/minidump/minidump_module_writer_test.cc |
index 6024c2ca65bc0238d1009c3d978d4b222507959b..8087e36bf40bf111fb5742622e54265583565342 100644 |
--- a/minidump/minidump_module_writer_test.cc |
+++ b/minidump/minidump_module_writer_test.cc |
@@ -33,6 +33,7 @@ |
#include "util/file/string_file.h" |
#include "util/misc/uuid.h" |
#include "util/stdlib/pointer_container.h" |
+#include "util/test/gtest_death_check.h" |
namespace crashpad { |
namespace test { |
@@ -753,7 +754,8 @@ TEST(MinidumpModuleWriterDeathTest, NoModuleName) { |
minidump_file_writer.AddStream(module_list_writer.Pass()); |
StringFile string_file; |
- ASSERT_DEATH(minidump_file_writer.WriteEverything(&string_file), "name_"); |
+ ASSERT_DEATH_CHECK(minidump_file_writer.WriteEverything(&string_file), |
+ "name_"); |
} |
} // namespace |