@@ -149,47 +149,47 @@ func TestResolve(t *testing.T) {
149149 {
150150 name : "repo from git https url" ,
151151 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" },
153153 },
154154 expect : & chart.Lock {
155155 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" },
157157 },
158158 },
159159 err : false ,
160160 },
161161 {
162162 name : "repo from git https url" ,
163163 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" },
165165 },
166166 expect : & chart.Lock {
167167 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" },
169169 },
170170 },
171171 err : true ,
172172 },
173173 {
174174 name : "repo from git ssh url" ,
175175 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" },
177177 },
178178 expect : & chart.Lock {
179179 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" },
181181 },
182182 },
183183 err : false ,
184184 },
185185 {
186186 name : "repo from git ssh url" ,
187187 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" },
189189 },
190190 expect : & chart.Lock {
191191 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" },
193193 },
194194 },
195195 err : true ,
0 commit comments