Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use reflect.DeepEqual for errors #7311

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

anderseknert
Copy link
Member

I pushed most of these fixed previously but these ones required more work. Probably more work than it was worth, lol, but now the work is done... and at least we can add this to the list of enabled checks.

Fixes #7238

I pushed most of these fixed previously but these ones required
more work. Probably more work that it was worth, lol, but now the
work is done... and at least we can add this to the list of enabled
checks.

Fixes open-policy-agent#7238

Signed-off-by: Anders Eknert <[email protected]>
Copy link
Member

@ashutosh-narkar ashutosh-narkar left a comment

Choose a reason for hiding this comment

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

LGTM

@anderseknert anderseknert merged commit e682a67 into open-policy-agent:main Jan 24, 2025
28 checks passed
@anderseknert anderseknert deleted the deepequalerrors branch January 24, 2025 19:51
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.

Update tests to not use reflect.DeepEqual on errors
2 participants