summaryrefslogtreecommitdiffstats
path: root/src/manifest_parser_test.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-08-02 22:24:32 (GMT)
committerEvan Martin <martine@danga.com>2012-08-02 22:28:25 (GMT)
commited07eb9f2f25ddee464e786f0f2f82e9e8a33e0a (patch)
tree3f90501c991d93e8902042201bd30a785a4127fb /src/manifest_parser_test.cc
parent649ad87148d5b4998cac7ce82eff29648db02554 (diff)
downloadNinja-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.cc2
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);