google / go-jsonnet

Apache License 2.0
1.63k stars 235 forks source link

Adds std.any and std.all to jsonnet-lint #695

Closed jregehr closed 1 year ago

jregehr commented 1 year ago

I did not add test cases. I haven't learned how the testing language works yet. Please build and test.

Fix for Issue #697

sparkprime commented 1 year ago

I don't think we have tests for each specific std function and I think it'd be a bit toily to do that. They really ought to be taken from a declarative config of some sort, or perhaps annotations in the code. So I'll just accept this as is.

coveralls commented 1 year ago

Coverage Status

Coverage: 68.493%. Remained the same when pulling 54f44a74e1f2db89e892047ffa29d1a5abe8f47f on jregehr:master into 7edd5d373b8d5fd74153582e331d8076a7808929 on google:master.