diff --git a/paddle/framework/backward_test.cc b/paddle/framework/backward_test.cc index 1167fbc5b623351387a2669c3f036b9eeec07b6b..13242ead24d0ab7bb051bb9e8a58728bda66afb0 100644 --- a/paddle/framework/backward_test.cc +++ b/paddle/framework/backward_test.cc @@ -316,7 +316,7 @@ TEST(Backward, op_part_of_output_are_not_need) { TEST(Backward, op_part_of_input_are_not_need) { auto fwd = f::OpRegistry::CreateOp("mul", {"a", "b"}, {"out"}, {}); auto backward = f::Backward(*fwd, {"a"}); - ASSERT_False(backward->IsNetOp()); + ASSERT_FALSE(backward->IsNetOp()); auto net = static_cast(backward.get()); ASSERT_EQ(net->ops_.size(), 1UL);