Index: tools/gn/label_unittest.cc |
diff --git a/tools/gn/label_unittest.cc b/tools/gn/label_unittest.cc |
index 02c658ae869a0b073faa8df5d3a74b79da6c213f..9fea8125e2cc5a9879a277e7a349b325eec876ee 100644 |
--- a/tools/gn/label_unittest.cc |
+++ b/tools/gn/label_unittest.cc |
@@ -33,6 +33,11 @@ TEST(Label, Resolve) { |
// Absolute paths. |
{ "//chrome/", "/chrome:bar", true , "/chrome/", "bar", "//t/", "d" }, |
{ "//chrome/", "/chrome/:bar", true, "/chrome/", "bar", "//t/", "d" }, |
+#if defined(OS_WIN) |
+ { "//chrome/", "/C:/chrome:bar", true , "/C:/chrome/", "bar", "//t/", "d" }, |
+ { "//chrome/", "/C:/chrome/:bar", true, "/C:/chrome/", "bar", "//t/", "d" }, |
+ { "//chrome/", "C:/chrome:bar", false, "", "", "", "" }, |
+#endif |
// Refers to root dir. |
{ "//chrome/", "//:bar", true, "//", "bar", "//t/", "d" }, |
// Implicit directory |