We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96defff commit cfd150cCopy full SHA for cfd150c
pkg/templates/sprig_wrapper_test.go
@@ -95,8 +95,9 @@ func TestGetSprigFunc(t *testing.T) {
95
`{{ list "Foo" "Bar" | join "_" }}`,
96
"Foo_Bar",
97
},
98
+ // Pass to sortAlpha because the order returned isn't guaranteed
99
"keys": {
- `{{ keys (dict "key1" "value1" "key2" "values2") }}`,
100
+ `{{ keys (dict "key1" "value1" "key2" "values2") | sortAlpha }}`,
101
"[key1 key2]",
102
103
"list": {
0 commit comments