mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
commit
de3a3357e9
@ -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 New Issue
Block a user