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 (
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user