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

Unified Diff: base/json/json_value_serializer_unittest.cc

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
Patch Set: Created 5 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/json/json_file_value_serializer.cc ('k') | base/json/json_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/json/json_value_serializer_unittest.cc
diff --git a/base/json/json_value_serializer_unittest.cc b/base/json/json_value_serializer_unittest.cc
index a4d7cdce06b66d33e4e8fae5a31843ca540cacd1..579ada310fd04386a7f58ea27b8436c5952adec2 100644
--- a/base/json/json_value_serializer_unittest.cc
+++ b/base/json/json_value_serializer_unittest.cc
@@ -248,11 +248,7 @@ TEST(JSONValueSerializerTest, Roundtrip) {
ASSERT_TRUE(mutable_serializer.Serialize(*root_dict));
// JSON output uses a different newline style on Windows than on other
// platforms.
-#if defined(OS_WIN)
-#define JSON_NEWLINE "\r\n"
-#else
#define JSON_NEWLINE "\n"
-#endif
const std::string pretty_serialization =
"{" JSON_NEWLINE
" \"bool\": true," JSON_NEWLINE
« no previous file with comments | « base/json/json_file_value_serializer.cc ('k') | base/json/json_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698