File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ func createRepo() (*Repository, error) {
152152 return repo , nil
153153}
154154
155- func cloneRepo (path string , url string ) (* Repository , error ) {
155+ func cloneRepo (path , url string ) (* Repository , error ) {
156156 _ , err := git .PlainClone (path , false , & git.CloneOptions {
157157 Auth : & http.BasicAuth {
158158 Username : "test" ,
@@ -212,6 +212,7 @@ func getCommitsNoFFMerge(t *testing.T) {
212212 repo , err := cloneRepo (dir , "http://localhost:3000/test/no_ff_merge.git" )
213213 require .NoError (err )
214214 releases , err := repo .GetReleases ("" )
215+ require .NoError (err )
215216 require .Len (releases , 1 )
216217 initialCommitSha := releases [0 ].GetSHA ()
217218 commits , err := repo .GetCommits (initialCommitSha , "master" )
You can’t perform that action at this time.
0 commit comments