Skip to content

Commit 868b001

Browse files
committed
fix formatting
1 parent 058daa6 commit 868b001

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

mmv1/templates/terraform/samples/base_configs/test_file.go.tmpl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
//
1616
// ----------------------------------------------------------------------------
1717

18-
package {{ $.Res.PackageName }}_test
18+
{{ $needsPlancheck := false -}}
19+
{{- range $s := $.Res.TestSamples -}}
20+
{{- if gt (len $s.TestSteps) 1 -}}
21+
{{- $needsPlancheck = true -}}
22+
{{- end -}}
23+
{{- end -}}
1924

20-
{{ $needsPlancheck := false }}
21-
{{ range $s := $.Res.TestSamples }}
22-
{{ if gt (len $s.TestSteps) 1 }}
23-
{{ $needsPlancheck = true }}
24-
{{ end }}
25-
{{ end }}
25+
package {{ $.Res.PackageName }}_test
2626

2727
import (
2828
"fmt"

0 commit comments

Comments
 (0)