Index: third_party/crashpad/crashpad/minidump/minidump_handle_writer_test.cc |
diff --git a/third_party/crashpad/crashpad/minidump/minidump_handle_writer_test.cc b/third_party/crashpad/crashpad/minidump/minidump_handle_writer_test.cc |
index 982da7138f57aac5f3607ce47d56ae1ca154f49f..db4cae5baf3f47faae890c210828fe6c91990090 100644 |
--- a/third_party/crashpad/crashpad/minidump/minidump_handle_writer_test.cc |
+++ b/third_party/crashpad/crashpad/minidump/minidump_handle_writer_test.cc |
@@ -59,7 +59,7 @@ void GetHandleDataStream( |
TEST(MinidumpHandleDataWriter, Empty) { |
MinidumpFileWriter minidump_file_writer; |
auto handle_data_writer = base::WrapUnique(new MinidumpHandleDataWriter()); |
- minidump_file_writer.AddStream(std::move(handle_data_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(handle_data_writer))); |
StringFile string_file; |
ASSERT_TRUE(minidump_file_writer.WriteEverything(&string_file)); |
@@ -92,7 +92,7 @@ TEST(MinidumpHandleDataWriter, OneHandle) { |
handle_data_writer->InitializeFromSnapshot(snapshot); |
- minidump_file_writer.AddStream(std::move(handle_data_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(handle_data_writer))); |
StringFile string_file; |
ASSERT_TRUE(minidump_file_writer.WriteEverything(&string_file)); |
@@ -150,7 +150,7 @@ TEST(MinidumpHandleDataWriter, RepeatedTypeName) { |
handle_data_writer->InitializeFromSnapshot(snapshot); |
- minidump_file_writer.AddStream(std::move(handle_data_writer)); |
+ ASSERT_TRUE(minidump_file_writer.AddStream(std::move(handle_data_writer))); |
StringFile string_file; |
ASSERT_TRUE(minidump_file_writer.WriteEverything(&string_file)); |