diff options
author | Evan Martin <martine@danga.com> | 2011-12-20 19:10:26 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-20 19:10:26 (GMT) |
commit | a3ace781e54b0c29322f5578d9de41efb05bb484 (patch) | |
tree | d322c74820e0cc0d267a64e53f28a025f4d4fadf /src | |
parent | 8ecbf8400a9e5336d027640463068331a435db32 (diff) | |
download | Ninja-a3ace781e54b0c29322f5578d9de41efb05bb484.zip Ninja-a3ace781e54b0c29322f5578d9de41efb05bb484.tar.gz Ninja-a3ace781e54b0c29322f5578d9de41efb05bb484.tar.bz2 |
fix bad merge
Diffstat (limited to 'src')
-rw-r--r-- | src/parsers_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parsers_test.cc b/src/parsers_test.cc index 5a4425a..628e76a 100644 --- a/src/parsers_test.cc +++ b/src/parsers_test.cc @@ -156,9 +156,9 @@ TEST_F(ParserTest, EscapeSpaces) { "build foo$ bar: has$ spaces $$one two$$$ three\n" )); EXPECT_TRUE(state.LookupNode("foo bar")); - EXPECT_EQ(state.edges_[0]->outputs_[0]->file_->path_, "foo bar"); - EXPECT_EQ(state.edges_[0]->inputs_[0]->file_->path_, "$one"); - EXPECT_EQ(state.edges_[0]->inputs_[1]->file_->path_, "two$ three"); + EXPECT_EQ(state.edges_[0]->outputs_[0]->path(), "foo bar"); + EXPECT_EQ(state.edges_[0]->inputs_[0]->path(), "$one"); + EXPECT_EQ(state.edges_[0]->inputs_[1]->path(), "two$ three"); EXPECT_EQ(state.edges_[0]->EvaluateCommand(), "something"); } |