diff options
author | Evan Martin <martine@danga.com> | 2012-08-02 22:24:32 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-08-02 22:28:25 (GMT) |
commit | ed07eb9f2f25ddee464e786f0f2f82e9e8a33e0a (patch) | |
tree | 3f90501c991d93e8902042201bd30a785a4127fb /src/manifest_parser_test.cc | |
parent | 649ad87148d5b4998cac7ce82eff29648db02554 (diff) | |
download | Ninja-ed07eb9f2f25ddee464e786f0f2f82e9e8a33e0a.zip Ninja-ed07eb9f2f25ddee464e786f0f2f82e9e8a33e0a.tar.gz Ninja-ed07eb9f2f25ddee464e786f0f2f82e9e8a33e0a.tar.bz2 |
reject tabs (and CRs) in input files more aggressively
Diffstat (limited to 'src/manifest_parser_test.cc')
-rw-r--r-- | src/manifest_parser_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manifest_parser_test.cc b/src/manifest_parser_test.cc index 3261d39..a48c99e 100644 --- a/src/manifest_parser_test.cc +++ b/src/manifest_parser_test.cc @@ -697,7 +697,7 @@ TEST_F(ParserTest, CRLF) { EXPECT_FALSE(parser.ParseTest("foo = foo\nbar = bar\r\n", &err)); - EXPECT_EQ("input:2: lexing error\n" + EXPECT_EQ("input:2: carriage returns are not allowed, use newlines\n" "bar = bar\r\n" " ^ near here", err); |