gitea/services/pull
Nanguan Lin dc04044716
Replace assert.Fail with assert.FailNow ()
assert.Fail() will continue to execute the code while assert.FailNow()
not. I thought those uses of assert.Fail() should exit immediately.
PS: perhaps it's a good idea to use
[require](https://pkg.go.dev/github.com/stretchr/testify/require)
somewhere because the assert package's default behavior does not exit
when an error occurs, which makes it difficult to find the root error
reason.
..
check.go Penultimate round of `db.DefaultContext` refactor ()
check_test.go Replace assert.Fail with assert.FailNow ()
comment.go Delete `issue_service.CreateComment` ()
commit_status.go Fix pull request check list is limited ()
edits.go Implement FSFE REUSE for golang files ()
lfs.go Refactor and tidy-up the merge/update branch code ()
main_test.go make writing main test easier ()
merge.go Move notification interface to services layer ()
merge_merge.go Refactor and tidy-up the merge/update branch code ()
merge_prepare.go Refactor merge/update git command calls ()
merge_rebase.go Merge message template support for rebase without merge commit ()
merge_squash.go Improve squash merge commit author and co-author with private emails ()
merge_test.go Support template for merge message description ()
patch.go Add transaction when creating pull request created dirty data ()
patch_unmerged.go Implement FSFE REUSE for golang files ()
pull.go Penultimate round of `db.DefaultContext` refactor ()
pull_test.go Support template for merge message description ()
review.go Even more `db.DefaultContext` refactor ()
temp_repo.go Sync branches into databases ()
update.go Sync branches into databases ()
update_rebase.go Refactor and tidy-up the merge/update branch code ()