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

Unified Diff: base/file_util_unittest.cc

Issue 432001: Remove the deprecated version of ContentsEqual.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « base/file_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_unittest.cc
===================================================================
--- base/file_util_unittest.cc (revision 32744)
+++ base/file_util_unittest.cc (working copy)
@@ -874,7 +874,9 @@
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));
« no previous file with comments | « base/file_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698