1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00
This commit is contained in:
Carlos Alexandro Becker 2017-07-16 16:02:18 -03:00
parent caa4aa0553
commit 6da24955f5
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ package brew
import ( import (
"bytes" "bytes"
"errors" "errors"
"fmt"
"path/filepath" "path/filepath"
"strings" "strings"
"text/template" "text/template"
@ -79,7 +78,6 @@ func buildFormula(ctx *context.Context, client client.Client, folder string) (by
if err != nil { if err != nil {
return bytes.Buffer{}, err return bytes.Buffer{}, err
} }
fmt.Println("testsssssss", data.Tests)
return doBuildFormula(data) return doBuildFormula(data)
} }

View File

@ -88,6 +88,7 @@ func TestSplit(t *testing.T) {
var parts = split("system \"true\"\nsystem \"#{bin}/foo -h\"") var parts = split("system \"true\"\nsystem \"#{bin}/foo -h\"")
assert.Equal([]string{"system \"true\"", "system \"#{bin}/foo -h\""}, parts) assert.Equal([]string{"system \"true\"", "system \"#{bin}/foo -h\""}, parts)
} }
func TestRunPipe(t *testing.T) { func TestRunPipe(t *testing.T) {
assert := assert.New(t) assert := assert.New(t)
folder, err := ioutil.TempDir("", "goreleasertest") folder, err := ioutil.TempDir("", "goreleasertest")