Update go dependencies (#2234)
This commit is contained in:
parent
6e099c5f57
commit
93c72ef646
1236 changed files with 37226 additions and 49844 deletions
15
vendor/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go
generated
vendored
15
vendor/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go
generated
vendored
|
|
@ -654,6 +654,21 @@ mergingIntList:
|
|||
ExpectedError: "doesn't match",
|
||||
},
|
||||
},
|
||||
{
|
||||
Description: "missing merge key should error out",
|
||||
StrategicMergePatchRawTestCaseData: StrategicMergePatchRawTestCaseData{
|
||||
Original: []byte(`
|
||||
mergingList:
|
||||
- name: 1
|
||||
value: a
|
||||
`),
|
||||
TwoWay: []byte(`
|
||||
mergingList:
|
||||
- value: b
|
||||
`),
|
||||
ExpectedError: "does not contain declared merge key",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
func TestCustomStrategicMergePatch(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue