This commit is contained in:
jessicagreben
2019-02-08 14:38:40 -08:00
parent 78f5503712
commit ef36859d5f

View File

@@ -68,7 +68,8 @@ var resourceConfJSON1 = `{
func TestParseError(t *testing.T) {
_, err := Parse([]byte(resourceConfInvalid1))
assert.EqualError(t, err, "Decoding config failed: error unmarshaling JSON: json: cannot unmarshal string into Go value of type config.Configuration")
expectedErr := "Decoding config failed: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go value of type config.Configuration"
assert.EqualError(t, err, expectedErr)
}
func TestParseYaml(t *testing.T) {