Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CreateThreeWayJSONMergePatch (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

    		testThreeWayPatch(t, c)
    	}
    }
    
    func testThreeWayPatch(t *testing.T, c JSONMergePatchTestCase) {
    	original, modified, current, expected, result := threeWayTestCaseToJSONOrFail(t, c)
    	actual, err := CreateThreeWayJSONMergePatch(original, modified, current)
    	if err != nil {
    		t.Fatalf("error: %s", err)
    	}
    	testPatchCreation(t, expected, actual, c.Description)
    	testPatchApplication(t, current, actual, result, c.Description)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top