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

Unified Diff: chrome/common/pref_service_unittest.cc

Issue 147220: Use platform-appropriate newlines in JSON output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months 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 | « chrome/common/json_value_serializer_unittest.cc ('k') | chrome/test/data/pref_service/write.golden.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_service_unittest.cc
===================================================================
--- chrome/common/pref_service_unittest.cc (revision 19366)
+++ chrome/common/pref_service_unittest.cc (working copy)
@@ -145,7 +145,7 @@
FilePath golden_output_file = data_dir_.AppendASCII("write.golden.json");
ASSERT_TRUE(file_util::PathExists(golden_output_file));
ASSERT_TRUE(prefs.SavePersistentPrefs());
- EXPECT_TRUE(file_util::ContentsEqual(golden_output_file, output_file));
+ EXPECT_TRUE(file_util::TextContentsEqual(golden_output_file, output_file));
ASSERT_TRUE(file_util::Delete(output_file, false));
}
« no previous file with comments | « chrome/common/json_value_serializer_unittest.cc ('k') | chrome/test/data/pref_service/write.golden.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698