| 972 | CelFunctionDescriptor("Fn", false, {CelValue::Type::kNullType})) {} |
| 973 | |
| 974 | absl::Status Evaluate(absl::Span<const CelValue> args, CelValue* result, |
| 975 | google::protobuf::Arena* arena) const override { |
| 976 | if (args.size() != 1 || args.at(0).type() != CelValue::Type::kNullType) { |
| 977 | return absl::Status(absl::StatusCode::kInvalidArgument, |
| 978 | "Bad arguments number"); |
| 979 | } |
| 980 | |
| 981 | *result = CelValue::CreateStringView("null"); |
| 982 | return absl::OkStatus(); |
| 983 | } |
| 984 | }; |
| 985 | |
| 986 | TEST(FunctionStepStrictnessTest, |