Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: components/update_client/component_unpacker_unittest.cc

Issue 2874503002: Refactor CRX verification in preparation to support CRX₃ files. (Closed)
Patch Set: No subclass Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/update_client/component_unpacker_unittest.cc
diff --git a/components/update_client/component_unpacker_unittest.cc b/components/update_client/component_unpacker_unittest.cc
index 5b1a28cc9f321c99015fb967e727ae969441fedf..d46decd0552e8af651f52f933affd5cca7affb71 100644
--- a/components/update_client/component_unpacker_unittest.cc
+++ b/components/update_client/component_unpacker_unittest.cc
@@ -160,7 +160,7 @@ TEST_F(ComponentUnpackerTest, UnpackFileHashMismatch) {
base::Unretained(this)));
RunThreads();
- EXPECT_EQ(UnpackerError::kInvalidId, result_.error);
+ EXPECT_EQ(UnpackerError::kInvalidFile, result_.error);
EXPECT_EQ(0, result_.extended_error);
EXPECT_TRUE(result_.unpack_path.empty());

Powered by Google App Engine
This is Rietveld 408576698