cedar-policy / cedar

Implementation of the Cedar Policy Language
https://www.cedarpolicy.com
Apache License 2.0
892 stars 80 forks source link

add tests for reserved keywords in policies #1223

Closed khieta closed 2 months ago

khieta commented 2 months ago

Description of changes

Adds some tests to check when keywords are allowed/not allowed in policies. I was using these to check whether our docs were up-to-date, but figured they might be useful to add to the repo so we can track changes. I found this a useful exercise, which led me to open #1221, and I think we should do this for more formats (#1222).

Issue #, if available

Checklist for requesting a review

The change in this PR is (choose one, and delete the other options):

I confirm that this PR (choose one, and delete the other options):

I confirm that cedar-spec (choose one, and delete the other options):

I confirm that docs.cedarpolicy.com (choose one, and delete the other options):