Closed krzykli closed 1 year ago
This is looking great! Appreciate the time to put all of these together and organise them nicely. I think that some of the test cases are failing because they're "free standing" expressions and Rego requires expressions to be part of rules:
x == y # should fail
result := x == y # should work
@shaded-enmity that's a good point, I fixed the two tests that needed to be wrapped in rules :)
I think tomorrow I'll remove failing tests and log issues instead to keep better track of them (now that we have CI working) :)
Alrighty, updated the tests with the new grammar. Tests are passing, but I left ERROR or MISSING nodes in. Will log issues against them now to track them.
Okay. Thanks. Merged
Added a bunch of test cases. There are a few that are failing, to highlight them in the suite I just appended
(broken)
at the end of the expected output copied fromtreesitter parse
to show the current state.