Skip to content

[Go] array.ApproxEqual should allow map entries be presented in any order #35828

@candiduslynx

Description

@candiduslynx

Describe the enhancement requested

Currently array.ApproxEqual uses the underlying list for *array.Map.
When comparing maps, this results in requiring all of the keys be present in the same order.

In Go, however, map traversal order is undefined.
So, if we store the value of the *array.Map into Go map we can't expect to put the values back in the same order.

Component(s)

Go

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions