mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 02:20:53 +00:00
Preserve order when merging.
This commit is contained in:
@@ -193,7 +193,7 @@ func (th *KustTestHarness) AssertActualEqualsExpected(
|
||||
if len(expected) > 0 && expected[0] == 10 {
|
||||
expected = expected[1:]
|
||||
}
|
||||
actual, err := m.EncodeAsYaml()
|
||||
actual, err := m.AsYaml(resmap.LegacySort)
|
||||
if err != nil {
|
||||
th.t.Fatalf("Unexpected err: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user