@@ -81,7 +81,7 @@ func testGit(t *testing.T, u *url.URL) {
81
81
rawTest (t , & httpContext , little , big , littleLFS , bigLFS )
82
82
mediaTest (t , & httpContext , little , big , littleLFS , bigLFS )
83
83
84
- t .Run ("CreateAgitFlowPull" , doCreateAgitFlowPull (dstPath , & httpContext , "master" , " test/head" ))
84
+ t .Run ("CreateAgitFlowPull" , doCreateAgitFlowPull (dstPath , & httpContext , "test/head" ))
85
85
t .Run ("BranchProtectMerge" , doBranchProtectPRMerge (& httpContext , dstPath ))
86
86
t .Run ("AutoMerge" , doAutoPRMerge (& httpContext , dstPath ))
87
87
t .Run ("CreatePRAndSetManuallyMerged" , doCreatePRAndSetManuallyMerged (httpContext , httpContext , dstPath , "master" , "test-manually-merge" ))
@@ -122,7 +122,7 @@ func testGit(t *testing.T, u *url.URL) {
122
122
rawTest (t , & sshContext , little , big , littleLFS , bigLFS )
123
123
mediaTest (t , & sshContext , little , big , littleLFS , bigLFS )
124
124
125
- t .Run ("CreateAgitFlowPull" , doCreateAgitFlowPull (dstPath , & sshContext , "master" , " test/head2" ))
125
+ t .Run ("CreateAgitFlowPull" , doCreateAgitFlowPull (dstPath , & sshContext , "test/head2" ))
126
126
t .Run ("BranchProtectMerge" , doBranchProtectPRMerge (& sshContext , dstPath ))
127
127
t .Run ("MergeFork" , func (t * testing.T ) {
128
128
defer tests .PrintCurrentTest (t )()
@@ -329,9 +329,6 @@ func generateCommitWithNewData(size int, repoPath, email, fullName, prefix strin
329
329
}
330
330
written += n
331
331
}
332
- if err != nil {
333
- return "" , err
334
- }
335
332
336
333
// Commit
337
334
// Now here we should explicitly allow lfs filters to run
@@ -693,7 +690,7 @@ func doAutoPRMerge(baseCtx *APITestContext, dstPath string) func(t *testing.T) {
693
690
}
694
691
}
695
692
696
- func doCreateAgitFlowPull (dstPath string , ctx * APITestContext , baseBranch , headBranch string ) func (t * testing.T ) {
693
+ func doCreateAgitFlowPull (dstPath string , ctx * APITestContext , headBranch string ) func (t * testing.T ) {
697
694
return func (t * testing.T ) {
698
695
defer tests .PrintCurrentTest (t )()
699
696
0 commit comments