mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
test: fix gofmt lint
Signed-off-by: William Wang <williamw0825@gmail.com>
This commit is contained in:
parent
de441f14bb
commit
d38e482133
|
|
@ -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]"),
|
||||
|
|
|
|||
Loading…
Reference in New Issue