Skip to content

Conversation

@srenatus
Copy link
Contributor

@srenatus srenatus commented Dec 5, 2025

These test had been modifying the package var BuiltinMap. Another test here checks that each entry in that BuiltinMap has described arguments. So when running tests, it could happen that the latter fails because the tests in check_test.go had already added their (not-properly-described) builtins to that map.

Now, the check_test.go tests are properly isolated, copying the builtinMap when needed.

Signed-off-by: Stephan Renatus <[email protected]>
@netlify
Copy link

netlify bot commented Dec 5, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit f9e55e8
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/6932ae626cbc870008368d08
😎 Deploy Preview https://deploy-preview-8111--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@sspaink sspaink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@srenatus srenatus merged commit c71db71 into open-policy-agent:main Dec 5, 2025
31 checks passed
@srenatus srenatus deleted the sr/vununtuoykqy branch December 5, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants