summaryrefslogtreecommitdiffstats
path: root/ninja/src/manifest_parser_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ninja/src/manifest_parser_test.cc')
-rw-r--r--ninja/src/manifest_parser_test.cc18
1 files changed, 5 insertions, 13 deletions
diff --git a/ninja/src/manifest_parser_test.cc b/ninja/src/manifest_parser_test.cc
index c91d8d156ce..39ed810658a 100644
--- a/ninja/src/manifest_parser_test.cc
+++ b/ninja/src/manifest_parser_test.cc
@@ -523,7 +523,7 @@ TEST_F(ParserTest, Errors) {
EXPECT_FALSE(parser.ParseTest("build x: y z\n", &err));
EXPECT_EQ("input:1: unknown build rule 'y'\n"
"build x: y z\n"
- " ^ near here"
+ " ^ near here"
, err);
}
@@ -534,7 +534,7 @@ TEST_F(ParserTest, Errors) {
EXPECT_FALSE(parser.ParseTest("build x:: y z\n", &err));
EXPECT_EQ("input:1: expected build command name\n"
"build x:: y z\n"
- " ^ near here"
+ " ^ near here"
, err);
}
@@ -636,10 +636,7 @@ TEST_F(ParserTest, Errors) {
string err;
EXPECT_FALSE(parser.ParseTest("rule %foo\n",
&err));
- EXPECT_EQ("input:1: expected rule name\n"
- "rule %foo\n"
- " ^ near here",
- err);
+ EXPECT_EQ("input:1: expected rule name\n", err);
}
{
@@ -675,10 +672,7 @@ TEST_F(ParserTest, Errors) {
string err;
EXPECT_FALSE(parser.ParseTest("rule cc\n command = foo\n && bar",
&err));
- EXPECT_EQ("input:3: expected variable name\n"
- " && bar\n"
- " ^ near here",
- err);
+ EXPECT_EQ("input:3: expected variable name\n", err);
}
{
@@ -773,9 +767,7 @@ TEST_F(ParserTest, Errors) {
ManifestParser parser(&local_state, NULL);
string err;
EXPECT_FALSE(parser.ParseTest("pool\n", &err));
- EXPECT_EQ("input:1: expected pool name\n"
- "pool\n"
- " ^ near here", err);
+ EXPECT_EQ("input:1: expected pool name\n", err);
}
{