File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ pequod:
57
57
nested:
58
58
foo: true
59
59
boat: null
60
+ object: null
60
61
` )
61
62
62
63
func withDeps (c * chart.Chart , deps ... * chart.Chart ) * chart.Chart {
@@ -118,6 +119,7 @@ func TestCoalesceValues(t *testing.T) {
118
119
"name" : "ahab" ,
119
120
"boat" : true ,
120
121
"nested" : map [string ]interface {}{"foo" : false , "boat" : true },
122
+ "object" : map [string ]interface {}{"foo" : "bar" },
121
123
},
122
124
},
123
125
),
@@ -227,6 +229,10 @@ func TestCoalesceValues(t *testing.T) {
227
229
t .Error ("Expected sub-subchart nested boat key to be removed, still present" )
228
230
}
229
231
232
+ if _ , ok := subsubchart ["object" ]; ok {
233
+ t .Error ("Expected sub-subchart object map to be removed, still present" )
234
+ }
235
+
230
236
// CoalesceValues should not mutate the passed arguments
231
237
is .Equal (valsCopy , vals )
232
238
}
You can’t perform that action at this time.
0 commit comments