Index: extensions/utility/unpacker_unittest.cc |
diff --git a/extensions/utility/unpacker_unittest.cc b/extensions/utility/unpacker_unittest.cc |
index bb99aaeed246a6d4a279e24bf213019abdb67626..82e5a1f7dc1e5bcf4decd4591649df51a1d4790b 100644 |
--- a/extensions/utility/unpacker_unittest.cc |
+++ b/extensions/utility/unpacker_unittest.cc |
@@ -171,7 +171,8 @@ TEST_F(UnpackerTest, BadPathError) { |
EXPECT_FALSE(unpacker_->Run()); |
EXPECT_TRUE(base::StartsWith(unpacker_->error_message(), |
- ASCIIToUTF16(kExpected), false)) |
+ ASCIIToUTF16(kExpected), |
+ base::CompareCase::INSENSITIVE_ASCII)) |
<< "Expected prefix: \"" << kExpected << "\", actual error: \"" |
<< unpacker_->error_message() << "\""; |
} |
@@ -181,7 +182,8 @@ TEST_F(UnpackerTest, ImageDecodingError) { |
SetupUnpacker("bad_image.crx"); |
EXPECT_FALSE(unpacker_->Run()); |
EXPECT_TRUE(base::StartsWith(unpacker_->error_message(), |
- ASCIIToUTF16(kExpected), false)) |
+ ASCIIToUTF16(kExpected), |
+ base::CompareCase::INSENSITIVE_ASCII)) |
<< "Expected prefix: \"" << kExpected << "\", actual error: \"" |
<< unpacker_->error_message() << "\""; |
} |