From 617a1e74e0206c6c60a05d3b9723cc02e8461434 Mon Sep 17 00:00:00 2001 From: tianshapjq Date: Mon, 14 Nov 2016 15:45:08 +0800 Subject: [PATCH] delete one testcase from json_test.go for duplicated data --- pkg/runtime/serializer/json/json_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/runtime/serializer/json/json_test.go b/pkg/runtime/serializer/json/json_test.go index acfe2026a4c..e56079fcc4d 100644 --- a/pkg/runtime/serializer/json/json_test.go +++ b/pkg/runtime/serializer/json/json_test.go @@ -67,14 +67,6 @@ func TestDecode(t *testing.T) { expectedGVK: &schema.GroupVersionKind{Kind: "Test", Group: "other", Version: "blah"}, errFn: func(err error) bool { return err.Error() == "fake error" }, }, - { - data: []byte("{}"), - defaultGVK: &schema.GroupVersionKind{Kind: "Test", Group: "other", Version: "blah"}, - creater: &mockCreater{err: fmt.Errorf("fake error")}, - - expectedGVK: &schema.GroupVersionKind{Kind: "Test", Group: "other", Version: "blah"}, - errFn: func(err error) bool { return err.Error() == "fake error" }, - }, { data: []byte("{}"), defaultGVK: &schema.GroupVersionKind{Kind: "Test", Group: "other", Version: "blah"},