diff options
author | Evan Martin <martine@danga.com> | 2011-02-04 00:51:51 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-02-04 00:51:51 (GMT) |
commit | aeda4872d35137bdac0b2d7a313ec6f82b993b13 (patch) | |
tree | 799868c6bc2ce78ce10cf6310173e1b54e2c0b99 /src/parsers_test.cc | |
parent | ad1ac0b8fd8c9d5e7f007791038923c0fca37b4b (diff) | |
download | Ninja-aeda4872d35137bdac0b2d7a313ec6f82b993b13.zip Ninja-aeda4872d35137bdac0b2d7a313ec6f82b993b13.tar.gz Ninja-aeda4872d35137bdac0b2d7a313ec6f82b993b13.tar.bz2 |
refactor parse error messages
Diffstat (limited to 'src/parsers_test.cc')
-rw-r--r-- | src/parsers_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parsers_test.cc b/src/parsers_test.cc index 1ba34da..18fc8bb 100644 --- a/src/parsers_test.cc +++ b/src/parsers_test.cc @@ -191,7 +191,7 @@ TEST_F(ParserTest, Errors) { ManifestParser parser(&state, NULL); string err; EXPECT_FALSE(parser.Parse("build x:: y z\n", &err)); - EXPECT_EQ("line 1, col 9: expected build command name", err); + EXPECT_EQ("line 1, col 9: expected build command name, got ':'", err); } { |