summaryrefslogtreecommitdiffstats
path: root/base/file_util_unittest.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-01 22:14:22 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-01 22:14:22 +0000
commit3f4b5713bc11f093edc946f2edccb1a2c41acd79 (patch)
treede100c03a65af506391246aca6677fae6452aaec /base/file_util_unittest.cc
parent94832e5df61bf9b21706148fc4649a1ddd76f335 (diff)
downloadchromium_src-3f4b5713bc11f093edc946f2edccb1a2c41acd79.zip
chromium_src-3f4b5713bc11f093edc946f2edccb1a2c41acd79.tar.gz
chromium_src-3f4b5713bc11f093edc946f2edccb1a2c41acd79.tar.bz2
Remove the deprecated version of ContentsEqual.
BUG=24672 TEST=base_unittests Review URL: http://codereview.chromium.org/432001 Patch from tfarina. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33483 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_unittest.cc')
-rw-r--r--base/file_util_unittest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/file_util_unittest.cc b/base/file_util_unittest.cc
index 7296113..0b47b231 100644
--- a/base/file_util_unittest.cc
+++ b/base/file_util_unittest.cc
@@ -874,7 +874,9 @@ TEST_F(ReadOnlyFileUtilTest, ContentsEqual) {
EXPECT_TRUE(file_util::ContentsEqual(original_file, same_file));
EXPECT_FALSE(file_util::ContentsEqual(original_file, same_length_file));
EXPECT_FALSE(file_util::ContentsEqual(original_file, different_file));
- EXPECT_FALSE(file_util::ContentsEqual(L"bogusname", L"bogusname"));
+ EXPECT_FALSE(file_util::ContentsEqual(
+ FilePath(FILE_PATH_LITERAL("bogusname")),
+ FilePath(FILE_PATH_LITERAL("bogusname"))));
EXPECT_FALSE(file_util::ContentsEqual(original_file, different_first_file));
EXPECT_FALSE(file_util::ContentsEqual(original_file, different_last_file));
EXPECT_TRUE(file_util::ContentsEqual(empty1_file, empty2_file));