summaryrefslogtreecommitdiffstats
path: root/src/parsers_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsers_test.cc')
-rw-r--r--src/parsers_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parsers_test.cc b/src/parsers_test.cc
index 4ef4edb..7b502f8 100644
--- a/src/parsers_test.cc
+++ b/src/parsers_test.cc
@@ -441,7 +441,7 @@ TEST_F(ParserTest, Implicit) {
"rule cat\n command = cat $in > $out\n"
"build foo: cat bar | baz\n"));
- Edge* edge = state.LookupNode("foo")->in_edge_;
+ Edge* edge = state.LookupNode("foo")->in_edge();
ASSERT_TRUE(edge->is_implicit(1));
}
@@ -450,7 +450,7 @@ TEST_F(ParserTest, OrderOnly) {
"rule cat\n command = cat $in > $out\n"
"build foo: cat bar || baz\n"));
- Edge* edge = state.LookupNode("foo")->in_edge_;
+ Edge* edge = state.LookupNode("foo")->in_edge();
ASSERT_TRUE(edge->is_order_only(1));
}