mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-20 16:14:32 +00:00
fix test
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user