diff --git a/cedar-drt/fuzz/fuzz_targets/convert-policy-json-to-cedar.rs b/cedar-drt/fuzz/fuzz_targets/convert-policy-json-to-cedar.rs index fac25d609..458dff0e9 100644 --- a/cedar-drt/fuzz/fuzz_targets/convert-policy-json-to-cedar.rs +++ b/cedar-drt/fuzz/fuzz_targets/convert-policy-json-to-cedar.rs @@ -38,7 +38,7 @@ fuzz_target!(|est_json_str: String| { }) { let ast_from_cedar = - cedar_policy_core::parser::parse_policy_template(None, &ast_from_est.to_string()); + cedar_policy_core::parser::parse_policy_or_template(None, &ast_from_est.to_string()); match ast_from_cedar { Ok(ast_from_cedar) => {