Skip to content

Commit

Permalink
Merge pull request #26510 from AdoHe/patch_test
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

update strategic patch test for merge list of maps

Refer #26418 for more details. @janetkuo the test case is added, ptal.
  • Loading branch information
Kubernetes Submit Queue authored Aug 16, 2016
2 parents c5ab95c + d06a770 commit 096dd4d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/util/strategicpatch/patch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,12 @@ testCases:
mergingList:
- name: 3
value: 3
- name: 4
value: 4
modified:
mergingList:
- name: 4
value: 4
- name: 1
- name: 2
value: 2
Expand All @@ -654,6 +658,8 @@ testCases:
mergingList:
- name: 3
value: 3
- name: 4
value: 4
result:
mergingList:
- name: 1
Expand All @@ -663,6 +669,8 @@ testCases:
other: b
- name: 3
value: 3
- name: 4
value: 4
- description: merge lists of maps with conflict
original:
mergingList:
Expand Down

0 comments on commit 096dd4d

Please sign in to comment.