Index: base/path_service_unittest.cc |
=================================================================== |
--- base/path_service_unittest.cc (revision 26368) |
+++ base/path_service_unittest.cc (working copy) |
@@ -47,7 +47,7 @@ |
for (int key = base::DIR_CURRENT; key < base::PATH_END; ++key) { |
EXPECT_PRED1(ReturnsValidPath, key); |
} |
-#ifdef OS_WIN |
+#if defined(OS_WIN) |
for (int key = base::PATH_WIN_START + 1; key < base::PATH_WIN_END; ++key) { |
if (key == base::DIR_LOCAL_APP_DATA_LOW && |
win_util::GetWinVersion() < win_util::WINVERSION_VISTA) { |
@@ -58,5 +58,9 @@ |
EXPECT_TRUE(ReturnsValidPath(key)) << key; |
} |
} |
+#elif defined(OS_MACOSX) |
+ for (int key = base::PATH_MAC_START + 1; key < base::PATH_MAC_END; ++key) { |
+ EXPECT_PRED1(ReturnsValidPath, key); |
+ } |
#endif |
} |