order locations by container layer order (#3858)

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman
2025-05-13 00:02:07 -04:00
committed by GitHub
parent e3e69596bd
commit 59b880f26a
18 changed files with 1589 additions and 83 deletions
+2 -2
View File
@@ -89,8 +89,8 @@ func TestLocationSet_SortPaths(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
set := NewLocationSet(test.input...)
assert.Equal(t, test.expected, set.ToSlice())
actual := NewLocationSet(test.input...).ToSlice()
assert.Equal(t, test.expected, actual)
})
}
}