diff --git a/pkg/converter/tmpl/template_test.go b/pkg/converter/tmpl/template_test.go index 84741369..70ca7712 100644 --- a/pkg/converter/tmpl/template_test.go +++ b/pkg/converter/tmpl/template_test.go @@ -257,7 +257,7 @@ func TestParseValue(t *testing.T) { input: "{{ getStringSlice .foo \"foo\" }}", variable: map[string]any{ "foo": map[string][]string{ - "foo": []string{"bar1", "bar2"}, + "foo": {"bar1", "bar2"}, }, }, excepted: []byte("[bar1 bar2]"),