diff --git a/paddle/framework/backward_test.cc b/paddle/framework/backward_test.cc index f3d2c8d54b4ea43e214ee1536d0d2230e634f89e..371ce3e745b39eee5da815d0c6c65ab79f9f5781 100644 --- a/paddle/framework/backward_test.cc +++ b/paddle/framework/backward_test.cc @@ -315,7 +315,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);