1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-22 04:08:49 +02:00

test: ignored err

This commit is contained in:
Carlos Alexandro Becker 2018-11-29 16:43:00 -02:00
parent 71abba61c3
commit e7bec044a0
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -32,7 +32,7 @@ func TestDescribeBody(t *testing.T) {
var golden = "testdata/release1.golden"
if *update {
ioutil.WriteFile(golden, out.Bytes(), 0755)
_ = ioutil.WriteFile(golden, out.Bytes(), 0755)
}
bts, err := ioutil.ReadFile(golden)
assert.NoError(t, err)
@ -49,7 +49,7 @@ func TestDescribeBodyNoDockerImagesNoBrews(t *testing.T) {
var golden = "testdata/release2.golden"
if *update {
ioutil.WriteFile(golden, out.Bytes(), 0655)
_ = ioutil.WriteFile(golden, out.Bytes(), 0655)
}
bts, err := ioutil.ReadFile(golden)
assert.NoError(t, err)