cedar-policy / cedar

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

Add tests for keywords #1222

Open khieta opened 2 months ago

khieta commented 2 months ago

Describe the improvement you'd like to request

Add tests for the use of keywords in Cedar and JSON formats to make sure that 1) the results are what we expect and 2) the parser error messages make sense.

We should test:

Describe alternatives you've considered

No response

Additional context

No response

Is this something that you'd be interested in working on?

khieta commented 2 months ago

Cedar policy tests added in #1223. Tests include the keywords "true", "false", "if", "then", "else", "in", "like", "has", "is", "__cedar", "principal", "action", "resource", "context", "permit", "forbid", "when", "unless".

john-h-kastner-aws commented 2 months ago

ref #407 for "parser error messages make sense."