Skip to content

Commit

Permalink
updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
m-Bilal committed Feb 27, 2022
1 parent 3eae520 commit 27b4973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kyaml/kio/filters/fmtr_test.go
Expand Up @@ -673,7 +673,7 @@ apiVersion: example.com/v1beta1
`

_, err := FormatInput(strings.NewReader(y))
assert.EqualError(t, err, "yaml: line 15: found character that cannot start any token")
assert.EqualError(t, err, "MalformedYAMLError: yaml: line 15: found character that cannot start any token")
}

// TestFormatFileOrDirectory_yamlExtFile verifies that FormatFileOrDirectory will format a file
Expand Down

0 comments on commit 27b4973

Please sign in to comment.