mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
cleanup
This commit is contained in:
parent
caa4aa0553
commit
6da24955f5
@ -5,7 +5,6 @@ package brew
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"text/template"
|
||||
@ -79,7 +78,6 @@ func buildFormula(ctx *context.Context, client client.Client, folder string) (by
|
||||
if err != nil {
|
||||
return bytes.Buffer{}, err
|
||||
}
|
||||
fmt.Println("testsssssss", data.Tests)
|
||||
return doBuildFormula(data)
|
||||
}
|
||||
|
||||
|
@ -88,6 +88,7 @@ func TestSplit(t *testing.T) {
|
||||
var parts = split("system \"true\"\nsystem \"#{bin}/foo -h\"")
|
||||
assert.Equal([]string{"system \"true\"", "system \"#{bin}/foo -h\""}, parts)
|
||||
}
|
||||
|
||||
func TestRunPipe(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
folder, err := ioutil.TempDir("", "goreleasertest")
|
||||
|
Loading…
x
Reference in New Issue
Block a user