File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ package chart
18
18
19
19
import (
20
20
"context"
21
+ "encoding/json"
21
22
"os"
22
23
"path/filepath"
23
24
"sync"
@@ -112,7 +113,7 @@ func TestLocalBuilder_Build(t *testing.T) {
112
113
name : "default values" ,
113
114
reference : LocalReference {Path : "../testdata/charts/helmchart" },
114
115
wantValues : chartutil.Values {
115
- "replicaCount" : float64 ( 1 ),
116
+ "replicaCount" : json . Number ( "1" ),
116
117
},
117
118
wantVersion : "0.1.0" ,
118
119
wantPackaged : true ,
@@ -136,7 +137,7 @@ fullnameOverride: "full-foo-name-override"`),
136
137
},
137
138
},
138
139
wantValues : chartutil.Values {
139
- "replicaCount" : float64 ( 20 ),
140
+ "replicaCount" : json . Number ( "20" ),
140
141
"nameOverride" : "foo-name-override" ,
141
142
"fullnameOverride" : "full-foo-name-override" ,
142
143
},
@@ -157,7 +158,7 @@ fullnameOverride: "full-foo-name-override"`),
157
158
name : "v1 chart" ,
158
159
reference : LocalReference {Path : "./../testdata/charts/helmchart-v1" },
159
160
wantValues : chartutil.Values {
160
- "replicaCount" : float64 ( 1 ),
161
+ "replicaCount" : json . Number ( "1" ),
161
162
},
162
163
wantVersion : "0.2.0" ,
163
164
wantPackaged : true ,
You can’t perform that action at this time.
0 commit comments