@@ -149,47 +149,47 @@ func TestResolve(t *testing.T) {
149
149
{
150
150
name : "repo from git https url" ,
151
151
req : []* chart.Dependency {
152
- {Name : "gitdependencyok" , Repository : "git:// https://github.com/helm/helmchart.git" , Version : "1.0.0" },
152
+ {Name : "gitdependencyok" , Repository : "git+ https://github.com/helm/helmchart.git" , Version : "1.0.0" },
153
153
},
154
154
expect : & chart.Lock {
155
155
Dependencies : []* chart.Dependency {
156
- {Name : "gitdependencyok" , Repository : "git:// https://github.com/helm/helmchart.git" , Version : "1.0.0" },
156
+ {Name : "gitdependencyok" , Repository : "git+ https://github.com/helm/helmchart.git" , Version : "1.0.0" },
157
157
},
158
158
},
159
159
err : false ,
160
160
},
161
161
{
162
162
name : "repo from git https url" ,
163
163
req : []* chart.Dependency {
164
- {Name : "gitdependencyerror" , Repository : "git:// https://github.com/helm/helmchart.git" , Version : "2.0.0" },
164
+ {Name : "gitdependencyerror" , Repository : "git+ https://github.com/helm/helmchart.git" , Version : "2.0.0" },
165
165
},
166
166
expect : & chart.Lock {
167
167
Dependencies : []* chart.Dependency {
168
- {Name : "gitdependencyerror" , Repository : "git:// https://github.com/helm/helmchart.git" , Version : "2.0.0" },
168
+ {Name : "gitdependencyerror" , Repository : "git+ https://github.com/helm/helmchart.git" , Version : "2.0.0" },
169
169
},
170
170
},
171
171
err : true ,
172
172
},
173
173
{
174
174
name : "repo from git ssh url" ,
175
175
req : []* chart.Dependency {
176
- {Name : "gitdependency" , Repository : "git://git@ github.com:helm/helmchart.git" , Version : "1.0.0" },
176
+ {Name : "gitdependency" , Repository : "git://github.com:helm/helmchart.git" , Version : "1.0.0" },
177
177
},
178
178
expect : & chart.Lock {
179
179
Dependencies : []* chart.Dependency {
180
- {Name : "gitdependency" , Repository : "git://git@ github.com:helm/helmchart.git" , Version : "1.0.0" },
180
+ {Name : "gitdependency" , Repository : "git://github.com:helm/helmchart.git" , Version : "1.0.0" },
181
181
},
182
182
},
183
183
err : false ,
184
184
},
185
185
{
186
186
name : "repo from git ssh url" ,
187
187
req : []* chart.Dependency {
188
- {Name : "gitdependencyerror" , Repository : "git://git@ github.com:helm/helmchart.git" , Version : "2.0.0" },
188
+ {Name : "gitdependencyerror" , Repository : "git://github.com:helm/helmchart.git" , Version : "2.0.0" },
189
189
},
190
190
expect : & chart.Lock {
191
191
Dependencies : []* chart.Dependency {
192
- {Name : "gitdependencyerror" , Repository : "git://git@ github.com:helm/helmchart.git" , Version : "2.0.0" },
192
+ {Name : "gitdependencyerror" , Repository : "git://github.com:helm/helmchart.git" , Version : "2.0.0" },
193
193
},
194
194
},
195
195
err : true ,
0 commit comments