Skip to content

Commit

Permalink
backport #410 (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
khieta authored Aug 12, 2024
1 parent 1f6c899 commit 463ec36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cedar-drt/fuzz/fuzz_targets/roundtrip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn round_trip_json(p: StaticPolicy) -> StaticPolicy {
// read back
let est: est::Policy = serde_json::from_value(json).expect("failed to parse EST from JSON");
let template = est
.try_into_ast_template(None)
.try_into_ast_policy_or_template(None)
.expect("failed to convert EST to AST");
template
.try_into()
Expand All @@ -120,7 +120,7 @@ fn round_trip_est(p: &StaticPolicy) -> StaticPolicy {
});
let est: est::Policy = serde_json::from_value(json).expect("failed to parse EST from JSON");
let template = est
.try_into_ast_template(None)
.try_into_ast_policy_or_template(None)
.expect("failed to convert EST to AST");
template
.try_into()
Expand Down

0 comments on commit 463ec36

Please sign in to comment.