mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
commit
de3a3357e9
2 changed files with 2 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ func TestTimeMarshalJSONUnmarshalYAML(t *testing.T) {
|
|||
var result TimeHolder
|
||||
err = yaml.Unmarshal(jsonMarshalled, &result)
|
||||
if err != nil {
|
||||
t.Errorf("2: Failed to unmarshall '%+v': %v", string(jsonMarshalled), err)
|
||||
t.Errorf("2: Failed to unmarshal '%+v': %v", string(jsonMarshalled), err)
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(input, result) {
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ func TestIntOrStringMarshalJSONUnmarshalYAML(t *testing.T) {
|
|||
var result IntOrStringHolder
|
||||
err = yaml.Unmarshal(jsonMarshalled, &result)
|
||||
if err != nil {
|
||||
t.Errorf("2: Failed to unmarshall '%+v': %v", string(jsonMarshalled), err)
|
||||
t.Errorf("2: Failed to unmarshal '%+v': %v", string(jsonMarshalled), err)
|
||||
}
|
||||
|
||||
if !reflect.DeepEqual(input, result) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue