Skip to content

Commit 463ec36

Browse files
authored
backport #410 (#416)
1 parent 1f6c899 commit 463ec36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cedar-drt/fuzz/fuzz_targets/roundtrip.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fn round_trip_json(p: StaticPolicy) -> StaticPolicy {
9595
// read back
9696
let est: est::Policy = serde_json::from_value(json).expect("failed to parse EST from JSON");
9797
let template = est
98-
.try_into_ast_template(None)
98+
.try_into_ast_policy_or_template(None)
9999
.expect("failed to convert EST to AST");
100100
template
101101
.try_into()
@@ -120,7 +120,7 @@ fn round_trip_est(p: &StaticPolicy) -> StaticPolicy {
120120
});
121121
let est: est::Policy = serde_json::from_value(json).expect("failed to parse EST from JSON");
122122
let template = est
123-
.try_into_ast_template(None)
123+
.try_into_ast_policy_or_template(None)
124124
.expect("failed to convert EST to AST");
125125
template
126126
.try_into()

0 commit comments

Comments
 (0)