diff options
-rw-r--r-- | src/build_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_test.cc b/src/build_test.cc index c9cc647..429e71c 100644 --- a/src/build_test.cc +++ b/src/build_test.cc @@ -504,7 +504,7 @@ TEST_F(PlanTest, PriorityWithoutBuildLog) { "a1", "a0", "b0", "c0", "out"}; for (int i = 0; i < n_edges; ++i) { Edge* edge = plan_.FindWork(); - ASSERT_NE(edge, NULL); + ASSERT_TRUE(edge != nullptr); EXPECT_EQ(expected_order[i], edge->outputs_[0]->path()); std::string err; |