Skip to content

Update tests to not use reflect.DeepEqual on errors #7238

@anderseknert

Description

@anderseknert

Hacking on the OPA repo in VS Code and I'm seeing a bunch of warnings from the language server about us using reflect.DeepEqual to compare errors. This is apparently problematic for... reasons, as described here and elsewhere. Don't have time to spend on this tonight, but noting it down so that we can fix this and enable whatever linter is flagging this issue, as it seems legit to me.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions