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

Unified Diff: chrome/browser/download/download_util_unittest.cc

Issue 3058052: Fix DownloadUtilTest on Mac. Not sure what causes the difference. (Closed)
Patch Set: Created 10 years, 4 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: chrome/browser/download/download_util_unittest.cc
diff --git a/chrome/browser/download/download_util_unittest.cc b/chrome/browser/download/download_util_unittest.cc
index d33ece9fed3dd83647709e429f38555f0e9ca268..98064e4eb10e4d350c94f3df3c220677c4ba3179 100644
--- a/chrome/browser/download/download_util_unittest.cc
+++ b/chrome/browser/download/download_util_unittest.cc
@@ -558,10 +558,18 @@ const struct {
{ FILE_PATH_LITERAL("/foo/bar.exe"),
"text/html",
+#if defined(OS_MACOSX)
+ FILE_PATH_LITERAL("/foo/bar.exe.html") },
+#else
FILE_PATH_LITERAL("/foo/bar.html") },
+#endif
{ FILE_PATH_LITERAL("/foo/bar.exe"),
"image/gif",
+#if defined(OS_MACOSX)
+ FILE_PATH_LITERAL("/foo/bar.exe.gif") },
+#else
FILE_PATH_LITERAL("/foo/bar.gif") },
+#endif
{ FILE_PATH_LITERAL("/foo/google.com"),
"text/html",
« 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