From 10e693d318539faf7072ee025318322bd8f32d72 Mon Sep 17 00:00:00 2001 From: shuting Date: Sun, 12 May 2019 16:29:31 -0500 Subject: [PATCH] Remove commented code --- pkg/policyengine/mutation/patches_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/policyengine/mutation/patches_test.go b/pkg/policyengine/mutation/patches_test.go index 7453781c51..986b15594f 100644 --- a/pkg/policyengine/mutation/patches_test.go +++ b/pkg/policyengine/mutation/patches_test.go @@ -125,11 +125,3 @@ func TestProcessPatches_RemovePathDoesntExist_IgnoreRemoveFailures_NotEmptyResul assert.Assert(t, len(patchesBytes) == 1) assertEqStringAndData(t, `{"path":"/metadata/labels/label2","op":"add","value":"label2Value"}`, patchesBytes[0]) } - -// func TestProcessSamePatch_AddAndRemovePathsDontExist_ContinueOnError_EmptyResult(t *testing.T) { -// patch1 := types.PolicyPatch{Path: "/metadata/labels/label3", Operation: "add", Value: "label3Value"} -// patches := []types.PolicyPatch{patch1} -// patchesBytes, err := ProcessPatches(patches, []byte(endpointsDocument), PatchingSetsContinueAlways) -// assert.NilError(t, err) -// assert.Assert(t, len(patchesBytes) == 1) -// }