Index: base/path_service_unittest.cc |
diff --git a/base/path_service_unittest.cc b/base/path_service_unittest.cc |
index 32f49b21498d5030ada37b22b179a3473d3ecf78..cc86be00c16f5d8d4fee8962e244fef6e68597ac 100644 |
--- a/base/path_service_unittest.cc |
+++ b/base/path_service_unittest.cc |
@@ -47,7 +47,7 @@ TEST_F(PathServiceTest, Get) { |
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 @@ TEST_F(PathServiceTest, Get) { |
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 |
} |