Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaGreben committed Feb 8, 2019
1 parent 78f5503 commit ef36859
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ef36859

Please sign in to comment.