Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Signed-off-by: Shaobo He <[email protected]>
  • Loading branch information
shaobo-he-aws committed Nov 20, 2024
1 parent 1cfb5d6 commit 654e412
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cedar-policy-core/src/parser/text_to_cst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1263,5 +1263,13 @@ mod tests {
};
"#,
);
assert_parse_succeeds(
parse_policy,
r#"
permit(principal, action, resource) when {
principal has if.then.else.in.like.has.is.__cedar
};
"#,
);
}
}

0 comments on commit 654e412

Please sign in to comment.