fix tests

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2025-02-03 18:51:20 +08:00 committed by Zubair Haque
parent 0415d1296e
commit 3286dfb0d8
1 changed files with 5 additions and 5 deletions

View File

@ -146,7 +146,7 @@ func TestApply_3(t *testing.T) {
skipNeeds: true, skipNeeds: true,
}, },
files: map[string]string{ files: map[string]string{
"/path/to/helmfile.yaml": ` "/path/to/helmfile.yaml.gotmpl": `
{{ $mark := "a" }} {{ $mark := "a" }}
releases: releases:
@ -199,7 +199,7 @@ my-release 4 Fri Nov 1 08:40:07 2019 DEPLOYED raw-3.1.0 3.1.0 def
skipNeeds: true, skipNeeds: true,
}, },
files: map[string]string{ files: map[string]string{
"/path/to/helmfile.yaml": ` "/path/to/helmfile.yaml.gotmpl": `
{{ $mark := "a" }} {{ $mark := "a" }}
releases: releases:
@ -250,7 +250,7 @@ releases:
}, },
error: ``, error: ``,
files: map[string]string{ files: map[string]string{
"/path/to/helmfile.yaml": ` "/path/to/helmfile.yaml.gotmpl": `
{{ $mark := "a" }} {{ $mark := "a" }}
releases: releases:
@ -306,7 +306,7 @@ my-release 4 Fri Nov 1 08:40:07 2019 DEPLOYED raw-3.1.0 3.1.0 def
}, },
error: ``, error: ``,
files: map[string]string{ files: map[string]string{
"/path/to/helmfile.yaml": ` "/path/to/helmfile.yaml.gotmpl": `
{{ $mark := "a" }} {{ $mark := "a" }}
releases: releases:
@ -359,7 +359,7 @@ my-release 4 Fri Nov 1 08:40:07 2019 DEPLOYED raw-3.1.0 3.1.0 def
}, },
error: ``, error: ``,
files: map[string]string{ files: map[string]string{
"/path/to/helmfile.yaml": ` "/path/to/helmfile.yaml.gotmpl": `
{{ $mark := "a" }} {{ $mark := "a" }}
releases: releases: