You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-11-06 09:09:29 +02:00
test: reducing test ouput (#3222)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5b591c9648
commit
5a6dd2fbc8
@@ -37,7 +37,7 @@ func TestSingleCommit(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestAnnotatedTags(t *testing.T) {
|
||||
t.Log(testlib.Mktmp(t))
|
||||
testlib.Mktmp(t)
|
||||
testlib.GitInit(t)
|
||||
testlib.GitRemoteAdd(t, "git@github.com:foo/bar.git")
|
||||
testlib.GitCommit(t, "commit1")
|
||||
|
||||
@@ -206,8 +206,7 @@ func TestRun(t *testing.T) {
|
||||
for arch, path := range paths {
|
||||
cmd := exec.Command("go", "build", "-o", path, src)
|
||||
cmd.Env = append(os.Environ(), "GOOS=darwin", "GOARCH="+arch)
|
||||
out, err := cmd.CombinedOutput()
|
||||
t.Log(string(out))
|
||||
_, err := cmd.CombinedOutput()
|
||||
require.NoError(t, err)
|
||||
|
||||
modTime := time.Unix(0, 0)
|
||||
|
||||
Reference in New Issue
Block a user