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

Unified Diff: base/files/file_util_unittest.cc

Issue 2731263002: Use UTF-8 rather than UNICODE for the OpenFile w/ character set test. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_util_unittest.cc
diff --git a/base/files/file_util_unittest.cc b/base/files/file_util_unittest.cc
index 5c918f88880e922d59ef24478d66701445bfad29..84a7a45bad82bae646960e504a1d3655b9bd4c25 100644
--- a/base/files/file_util_unittest.cc
+++ b/base/files/file_util_unittest.cc
@@ -1744,7 +1744,7 @@ TEST_F(FileUtilTest, GetTempDirTest) {
TEST_F(FileUtilTest, OpenFileNoInheritance) {
FilePath file_path(temp_dir_.GetPath().Append(FPL("a_file")));
- for (const char* mode : {"wb", "r,ccs=UNICODE"}) {
+ for (const char* mode : {"wb", "r,ccs=UTF-8"}) {
SCOPED_TRACE(mode);
ASSERT_NO_FATAL_FAILURE(CreateTextFile(file_path, L"Geepers"));
FILE* file = OpenFile(file_path, mode);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698