From 1a87e73a623c592d0f41457c22cbc408be4e58cc Mon Sep 17 00:00:00 2001 From: Kesha Hietala Date: Fri, 2 Aug 2024 15:13:42 -0400 Subject: [PATCH] fix for cedar#1095 (#407) --- cedar-drt/fuzz/fuzz_targets/convert-policy-json-to-cedar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {