Merge pull request #993 from pmorie/typo

Fix typo in tests
This commit is contained in:
Daniel Smith 2014-08-21 14:33:38 -07:00
commit de3a3357e9
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {