Index: client/crash_report_database_test.cc |
diff --git a/client/crash_report_database_test.cc b/client/crash_report_database_test.cc |
index 3a714bd86529d48f41a47b95c22d5abc1daa1eeb..ff29b080d48f390ac73abc8b96a37d808f7cfe29 100644 |
--- a/client/crash_report_database_test.cc |
+++ b/client/crash_report_database_test.cc |
@@ -179,10 +179,12 @@ TEST_F(CrashReportDatabaseTest, NewCrashReport) { |
CrashReportDatabase::NewReport* new_report; |
EXPECT_EQ(CrashReportDatabase::kNoError, |
db()->PrepareNewCrashReport(&new_report)); |
+ UUID expect_uuid = new_report->uuid; |
EXPECT_TRUE(FileExistsAtPath(new_report->path)) << new_report->path.value(); |
UUID uuid; |
EXPECT_EQ(CrashReportDatabase::kNoError, |
db()->FinishedWritingCrashReport(new_report, &uuid)); |
+ EXPECT_EQ(expect_uuid, uuid); |
CrashReportDatabase::Report report; |
EXPECT_EQ(CrashReportDatabase::kNoError, |