summaryrefslogtreecommitdiffstats
path: root/src/manifest_parser_test.cc
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2014-11-08 19:25:03 (GMT)
committerScott Graham <scottmg@chromium.org>2014-11-08 19:25:03 (GMT)
commit3fb18496c4c2642742df152974d78756d1c9df8a (patch)
tree6cbce5b10eea5543e43d967b67b4ca79e190ff8c /src/manifest_parser_test.cc
parentaacfd606f463bc3a7c2cc92d961dbded7979051c (diff)
downloadNinja-3fb18496c4c2642742df152974d78756d1c9df8a.zip
Ninja-3fb18496c4c2642742df152974d78756d1c9df8a.tar.gz
Ninja-3fb18496c4c2642742df152974d78756d1c9df8a.tar.bz2
fix multiple sequential slashes
Diffstat (limited to 'src/manifest_parser_test.cc')
-rw-r--r--src/manifest_parser_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manifest_parser_test.cc b/src/manifest_parser_test.cc
index 1998a77..0668668 100644
--- a/src/manifest_parser_test.cc
+++ b/src/manifest_parser_test.cc
@@ -319,7 +319,7 @@ TEST_F(ParserTest, CanonicalizePathsBackslashes) {
" command = cat $in > $out\n"
"build ./out.o: cat ./bar/baz/../foo.cc\n"
"build .\\out2.o: cat .\\bar/baz\\..\\foo.cc\n"
-"build .\\out3.o: cat .\\bar/baz\\..\\foo3.cc\n"
+"build .\\out3.o: cat .\\bar\\baz\\..\\foo3.cc\n"
));
EXPECT_FALSE(state.LookupNode("./out.o"));
@@ -336,7 +336,7 @@ TEST_F(ParserTest, CanonicalizePathsBackslashes) {
EXPECT_EQ(0, node->slash_bits());
node = state.LookupNode("bar/foo3.cc");
EXPECT_TRUE(node);
- EXPECT_EQ(1, node->slash_bits()); // First seen determines slashes.
+ EXPECT_EQ(1, node->slash_bits());
}
#endif