summaryrefslogtreecommitdiffstats
path: root/src/state_test.cc
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2023-12-07 16:06:23 (GMT)
committerGitHub <noreply@github.com>2023-12-07 16:06:23 (GMT)
commit9772a299e98880aebc55bf3684712f5046dfdbc6 (patch)
treeeb16da13aef7a4b195926c79e455435cc49eb347 /src/state_test.cc
parent09b6b4e13a365ff04bc865fd6b4c6f1f52032617 (diff)
parent4d98903d4c986f720ddb3f18d32c1125ef3e680e (diff)
downloadNinja-9772a299e98880aebc55bf3684712f5046dfdbc6.zip
Ninja-9772a299e98880aebc55bf3684712f5046dfdbc6.tar.gz
Ninja-9772a299e98880aebc55bf3684712f5046dfdbc6.tar.bz2
Merge pull request #2356 from jhasse/remove-w-dupbuild
Remove `-w dupbuild` completely, always error on duplicate edges
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 96469f9..e0e3060 100644
--- a/src/state_test.cc
+++ b/src/state_test.cc
@@ -36,7 +36,7 @@ TEST(State, Basic) {
Edge* edge = state.AddEdge(rule);
state.AddIn(edge, "in1", 0);
state.AddIn(edge, "in2", 0);
- state.AddOut(edge, "out", 0);
+ state.AddOut(edge, "out", 0, nullptr);
EXPECT_EQ("cat in1 in2 > out", edge->EvaluateCommand());