Files
holos/internal/compare/testdata/labels3/testcase.json
Jeff McCune 0e9b02f337 compare: add test case for same object dupliacted in after
When the objects in the before stream differ only by a deeply nested
field value, the second object in before should not match any object in
after.
2025-05-17 13:57:23 -07:00

12 lines
328 B
JSON

{
"exitCode": 1,
"name": "MultipleIdenticalObjectsOutOfOrderAllLabels",
"msg": "should not match when the same object is duplicated in after and differs only by an arbitrary deeply nested field in before",
"file1": "before.yaml",
"file2": "after.yaml",
"expectedErrors": [
"- seq: 2",
"+ seq: 1"
]
}