[trival]remove duplicated code from unit test

This commit is contained in:
Cao Shufeng 2017-11-05 15:02:41 +08:00
parent aed9ad4b08
commit acb90b6547

View File

@ -310,9 +310,6 @@ func (tc *patchTestCase) Run(t *testing.T) {
patch := []byte{}
switch patchType {
case types.JSONPatchType:
continue
case types.StrategicMergePatchType:
patch, err = strategicpatch.CreateTwoWayMergePatch(originalObjJS, changedJS, versionedObj)
if err != nil {