From d06a77065afc4e4591a31fe8b9e776ae6c9f46b3 Mon Sep 17 00:00:00 2001 From: AdoHe Date: Mon, 30 May 2016 01:43:36 -0400 Subject: [PATCH] update strategic patch test for merge list of maps --- pkg/util/strategicpatch/patch_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/util/strategicpatch/patch_test.go b/pkg/util/strategicpatch/patch_test.go index ec10fd43dc..303153f4a2 100644 --- a/pkg/util/strategicpatch/patch_test.go +++ b/pkg/util/strategicpatch/patch_test.go @@ -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 @@ -654,6 +658,8 @@ testCases: mergingList: - name: 3 value: 3 + - name: 4 + value: 4 result: mergingList: - name: 1 @@ -663,6 +669,8 @@ testCases: other: b - name: 3 value: 3 + - name: 4 + value: 4 - description: merge lists of maps with conflict original: mergingList: