diff options
author | Evan Martin <martine@danga.com> | 2011-12-07 17:41:07 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-07 17:41:07 (GMT) |
commit | 63d136fb891f365b551621220ce3dd1022c14182 (patch) | |
tree | 04bebd45659759abcc192a04cdeb8022cf29bf5e /src/state_test.cc | |
parent | d58d918bafb26af9fd0c65cd61058ad29c5d2f4b (diff) | |
download | Ninja-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.cc | 2 |
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); |