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:
parent
71abba61c3
commit
e7bec044a0
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user