summaryrefslogtreecommitdiffstats
path: root/src/state_test.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-12-07 17:41:07 (GMT)
committerEvan Martin <martine@danga.com>2011-12-07 17:41:07 (GMT)
commit63d136fb891f365b551621220ce3dd1022c14182 (patch)
tree04bebd45659759abcc192a04cdeb8022cf29bf5e /src/state_test.cc
parentd58d918bafb26af9fd0c65cd61058ad29c5d2f4b (diff)
downloadNinja-63d136fb891f365b551621220ce3dd1022c14182.zip
Ninja-63d136fb891f365b551621220ce3dd1022c14182.tar.gz
Ninja-63d136fb891f365b551621220ce3dd1022c14182.tar.bz2
remove unused function
Diffstat (limited to 'src/state_test.cc')
-rw-r--r--src/state_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state_test.cc b/src/state_test.cc
index 83fd0fd..5d91532 100644
--- a/src/state_test.cc
+++ b/src/state_test.cc
@@ -23,7 +23,7 @@ TEST(State, Basic) {
State state;
Rule* rule = new Rule("cat");
string err;
- EXPECT_TRUE(rule->ParseCommand("cat $in > $out", &err));
+ EXPECT_TRUE(rule->command_.Parse("cat $in > $out", &err));
ASSERT_EQ("", err);
state.AddRule(rule);
Edge* edge = state.AddEdge(rule);