summaryrefslogtreecommitdiffstats
path: root/chrome/browser/component_updater/cld_component_installer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/component_updater/cld_component_installer_unittest.cc')
-rw-r--r--chrome/browser/component_updater/cld_component_installer_unittest.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/component_updater/cld_component_installer_unittest.cc b/chrome/browser/component_updater/cld_component_installer_unittest.cc
index aa19c25..ab40b35 100644
--- a/chrome/browser/component_updater/cld_component_installer_unittest.cc
+++ b/chrome/browser/component_updater/cld_component_installer_unittest.cc
@@ -102,8 +102,7 @@ TEST_F(CldComponentInstallerTest, GetInstalledPath) {
const base::FilePath base_dir;
const base::FilePath result =
CldComponentInstallerTraits::GetInstalledPath(base_dir);
- ASSERT_TRUE(base::EndsWith(result.value(), kTestCldDataFileName,
- base::CompareCase::SENSITIVE));
+ ASSERT_TRUE(base::EndsWith(result.value(), kTestCldDataFileName, true));
}
TEST_F(CldComponentInstallerTest, GetBaseDirectory) {
@@ -128,10 +127,8 @@ TEST_F(CldComponentInstallerTest, ComponentReady) {
traits_.ComponentReady(version, install_dir, manifest.Pass());
base::FilePath result = CldComponentInstallerTraits::GetLatestCldDataFile();
ASSERT_TRUE(base::StartsWith(result.AsUTF16Unsafe(),
- install_dir.AsUTF16Unsafe(),
- base::CompareCase::SENSITIVE));
- ASSERT_TRUE(base::EndsWith(result.value(), kTestCldDataFileName,
- base::CompareCase::SENSITIVE));
+ install_dir.AsUTF16Unsafe(), true));
+ ASSERT_TRUE(base::EndsWith(result.value(), kTestCldDataFileName, true));
}
} // namespace component_updater