diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2023-12-07 16:06:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 16:06:23 (GMT) |
commit | 9772a299e98880aebc55bf3684712f5046dfdbc6 (patch) | |
tree | eb16da13aef7a4b195926c79e455435cc49eb347 /src/state_test.cc | |
parent | 09b6b4e13a365ff04bc865fd6b4c6f1f52032617 (diff) | |
parent | 4d98903d4c986f720ddb3f18d32c1125ef3e680e (diff) | |
download | Ninja-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.cc | 2 |
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()); |