From 894ac9b89935f3a9d7adef90f7e4169067cabcc0 Mon Sep 17 00:00:00 2001 From: Zhou Peng Date: Sun, 10 Jan 2021 23:17:31 +0800 Subject: [PATCH] [k8s.io/apimachinery/pkg/test]: cleanup commented code The commented code has no help to make reader more comprehensiable, it was just a legacy copy paste. Signed-off-by: Zhou Peng --- .../pkg/test/runtime_serializer_protobuf_protobuf_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go b/staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go index 26c6f1bd61b..5349031aeba 100644 --- a/staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go +++ b/staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go @@ -223,8 +223,6 @@ func TestProtobufDecode(t *testing.T) { 0x22, 0x00, // content-encoding } - //err1 := fmt.Errorf("a test error") - testCases := []struct { obj runtime.Object data []byte