mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 19:28:16 +00:00
Serialization test should verify encode does not mutate in
This commit is contained in:
@@ -204,8 +204,8 @@ func TestResourceListConversion(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
output := api.ResourceList{}
|
||||
for i, test := range tests {
|
||||
output := api.ResourceList{}
|
||||
err := api.Scheme.Convert(&test.input, &output)
|
||||
if err != nil {
|
||||
t.Fatalf("unexpected error for case %d: %v", i, err)
|
||||
|
||||
Reference in New Issue
Block a user