distroregistry/test: do not depend on the order in the List test
order of distributions doesn't matter. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
1b63a69245
commit
e4295dc49c
1 changed files with 1 additions and 1 deletions
|
|
@ -25,5 +25,5 @@ func TestRegistry_List(t *testing.T) {
|
|||
distros, err := distroregistry.New(fedora32.New(), fedora33.New(), rhel8.New(), rhel84.New(), rhel84.NewCentos())
|
||||
require.NoError(t, err)
|
||||
|
||||
require.Equalf(t, expected, distros.List(), "unexpected list of distros")
|
||||
require.ElementsMatch(t, expected, distros.List(), "unexpected list of distros")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue