projectcontour / integration-tester

Integration Tester for Kubernetes
Other
3 stars 5 forks source link

Add the filename to Rego fragment locations. #13

Closed jpeach closed 4 years ago

jpeach commented 4 years ago

It is awkward to map the location of Rego erros back to the right line on the test document, but we can improve things (in a hacky way) by capturing the file and line number in the filename that we feed to Rego when we compile a fragment.

This updates #12.

Signed-off-by: James Peach jpeach@vmware.com