mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Merge pull request #36736 from tianshapjq/json_test
Automatic merge from submit-queue (batch tested with PRs 36736, 35956, 35655, 37713, 38316) delete one testcase from json_test.go for duplicated data in json_test.go there are 2 duplicated tesecases. Here I'm going to delete one of them. Please review for this. thanks!
This commit is contained in:
commit
14ae96adbb
@ -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"},
|
||||
|
Loading…
Reference in New Issue
Block a user