1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00

Merge branch 'master' into globs

This commit is contained in:
Carlos Alexandro Becker 2017-05-11 13:41:08 -03:00 committed by GitHub
commit aa70697dae
2 changed files with 2 additions and 2 deletions

View File

@ -55,6 +55,6 @@ func checksums(ctx *context.Context, file *os.File, name string) error {
if err != nil {
return err
}
_, err = file.WriteString(fmt.Sprintf("%v\t%v\n", sha, name))
_, err = file.WriteString(fmt.Sprintf("%v %v\n", sha, name))
return err
}

View File

@ -35,7 +35,7 @@ func TestPipe(t *testing.T) {
assert.Contains(ctx.Artifacts, checksums, binary)
bts, err := ioutil.ReadFile(filepath.Join(folder, checksums))
assert.NoError(err)
assert.Equal(string(bts), "61d034473102d7dac305902770471fd50f4c5b26f6831a56dd90b5184b3c30fc binary\n")
assert.Equal(string(bts), "61d034473102d7dac305902770471fd50f4c5b26f6831a56dd90b5184b3c30fc binary\n")
}
func TestPipeFileNotExist(t *testing.T) {