1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-19 20:57:53 +02:00

fix: test: yaml

This commit is contained in:
Carlos Alexandro Becker 2018-02-25 13:59:43 -03:00
parent d2fefbd402
commit b90bc75c38
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -59,7 +59,7 @@ func TestFileNotFound(t *testing.T) {
func TestInvalidFields(t *testing.T) {
_, err := Load("testdata/invalid_config.yml")
assert.EqualError(t, err, "yaml: unmarshal errors:\n line 2: field invalid_yaml not found in struct config.Build")
assert.EqualError(t, err, "yaml: unmarshal errors:\n line 2: field invalid_yaml not found in type config.Build")
}
func TestInvalidYaml(t *testing.T) {