@@ -51,6 +51,7 @@ pequod:
51
51
nested:
52
52
boat: false
53
53
sail: true
54
+ foo2: null
54
55
ahab:
55
56
scope: whale
56
57
boat: null
@@ -112,7 +113,7 @@ func TestCoalesceValues(t *testing.T) {
112
113
Metadata : & chart.Metadata {Name : "ahab" },
113
114
Values : map [string ]interface {}{
114
115
"global" : map [string ]interface {}{
115
- "nested" : map [string ]interface {}{"foo" : "bar" },
116
+ "nested" : map [string ]interface {}{"foo" : "bar" , "foo2" : "bar2" },
116
117
"nested2" : map [string ]interface {}{"l2" : "ahab" },
117
118
},
118
119
"scope" : "ahab" ,
@@ -170,6 +171,7 @@ func TestCoalesceValues(t *testing.T) {
170
171
{"{{.pequod.ahab.nested.foo}}" , "true" },
171
172
{"{{.pequod.ahab.global.name}}" , "Ishmael" },
172
173
{"{{.pequod.ahab.global.nested.foo}}" , "bar" },
174
+ {"{{.pequod.ahab.global.nested.foo2}}" , "<no value>" },
173
175
{"{{.pequod.ahab.global.subject}}" , "Queequeg" },
174
176
{"{{.pequod.ahab.global.harpooner}}" , "Tashtego" },
175
177
{"{{.pequod.global.name}}" , "Ishmael" },
0 commit comments