diff options
Diffstat (limited to 'extensions/utility/unpacker_unittest.cc')
-rw-r--r-- | extensions/utility/unpacker_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/utility/unpacker_unittest.cc b/extensions/utility/unpacker_unittest.cc index 107a0cc..b323e01 100644 --- a/extensions/utility/unpacker_unittest.cc +++ b/extensions/utility/unpacker_unittest.cc @@ -168,8 +168,8 @@ TEST_F(UnpackerTest, BadPathError) { static_cast<TestExtensionsClient*>(ExtensionsClient::Get())); EXPECT_FALSE(unpacker_->Run()); - EXPECT_TRUE( - StartsWith(unpacker_->error_message(), ASCIIToUTF16(kExpected), false)) + EXPECT_TRUE(base::StartsWith(unpacker_->error_message(), + ASCIIToUTF16(kExpected), false)) << "Expected prefix: \"" << kExpected << "\", actual error: \"" << unpacker_->error_message() << "\""; } @@ -178,8 +178,8 @@ TEST_F(UnpackerTest, ImageDecodingError) { const char kExpected[] = "Could not decode image: "; SetupUnpacker("bad_image.crx"); EXPECT_FALSE(unpacker_->Run()); - EXPECT_TRUE( - StartsWith(unpacker_->error_message(), ASCIIToUTF16(kExpected), false)) + EXPECT_TRUE(base::StartsWith(unpacker_->error_message(), + ASCIIToUTF16(kExpected), false)) << "Expected prefix: \"" << kExpected << "\", actual error: \"" << unpacker_->error_message() << "\""; } |