mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
Merge branch 'master' into git-as-dep
This commit is contained in:
commit
34cc110f9d
@ -27,7 +27,7 @@ const formulae = `class {{ .Name }} < Formula
|
||||
|
||||
{{- if .Dependencies }}
|
||||
{{ range $index, $element := .Dependencies }}
|
||||
depends_on: {{ . }}
|
||||
depends_on: "{{ . }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
@ -51,8 +51,8 @@ func TestFullFormulae(t *testing.T) {
|
||||
assertDefaultTemplateData(t, formulae)
|
||||
assert.Contains(formulae, "def caveats")
|
||||
assert.Contains(formulae, "Here are some caveats")
|
||||
assert.Contains(formulae, "depends_on: gtk")
|
||||
assert.Contains(formulae, "depends_on: git")
|
||||
assert.Contains(formulae, "depends_on: \"gtk\"")
|
||||
assert.Contains(formulae, "depends_on: \"git\"")
|
||||
}
|
||||
|
||||
func TestFormulaeNoCaveats(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user