From ef36859d5fc9cc1c428b719306c2c2b6d5997ef6 Mon Sep 17 00:00:00 2001 From: jessicagreben Date: Fri, 8 Feb 2019 14:38:40 -0800 Subject: [PATCH] fix test --- pkg/config/config_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index 5aa7cc0e..6b4fa439 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -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) {