Skip to content

Commit

Permalink
sort services for comparison
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof committed Oct 17, 2023
1 parent 2930569 commit 24fb874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loader/merge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ services:
}
config, err := loadTestProject(configDetails)
assert.NilError(t, err)
assert.DeepEqual(t, types.Services{
assert.DeepEqual(t, serviceSort(types.Services{
{
Name: "foo",
Image: "baz",
Expand Down Expand Up @@ -937,7 +937,7 @@ services:
Environment: types.MappingWithEquals{},
Scale: 1,
},
}, config.Services)
}), serviceSort(config.Services))
}

func TestMergeUlimitsConfig(t *testing.T) {
Expand Down

0 comments on commit 24fb874

Please sign in to comment.