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 7b502f8..f23a178 100644
--- a/src/parsers_test.cc
+++ b/src/parsers_test.cc
@@ -60,7 +60,7 @@ TEST_F(ParserTest, Rules) {
ASSERT_EQ(3u, state.rules_.size());
const Rule* rule = state.rules_.begin()->second;
- EXPECT_EQ("cat", rule->name_);
+ EXPECT_EQ("cat", rule->name());
EXPECT_EQ("cat $in > $out", rule->command_.unparsed());
}
@@ -117,7 +117,7 @@ TEST_F(ParserTest, Continuation) {
ASSERT_EQ(2u, state.rules_.size());
const Rule* rule = state.rules_.begin()->second;
- EXPECT_EQ("link", rule->name_);
+ EXPECT_EQ("link", rule->name());
EXPECT_EQ("foo bar baz", rule->command_.unparsed());
}