Files
holos/internal/compare/testdata/minimal/testcase.json
Jeff McCune 2f77b1c09f compare: implement labels test case with expectedErrors list support
- Refactor test infrastructure to support expectedErrors as a list instead of single expectedError
- Implement generic field difference extraction for any object additions
- Update extractTestErrors method to handle arbitrary field additions
- Migrate all test cases from expectedError to expectedErrors format
- Maintain backward compatibility with existing test expectations
- Add support for detecting and formatting any field additions in diff output
- Clean up go-cmp type annotations in error messages for better readability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-17 13:11:05 -07:00

8 lines
196 B
JSON

{
"exitCode": 0,
"name": "MinimalBuildPlans",
"msg": "minimal BuildPlans with same version and kind should match",
"file1": "before.yaml",
"file2": "after.yaml",
"expectedErrors": []
}