aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/user
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-09-20 08:51:36 +0800
committerGitHub <noreply@github.com>2023-09-20 08:51:36 +0800
commit2814f2fea1313992c588444ead3643e54ea57c4d (patch)
tree5542c3aa9962a31025b3ece934149c05652499df /routers/web/user
parent1b1c55f73f85f647209df0ab1ebdd60040231b0a (diff)
downloadgitea-2814f2fea1313992c588444ead3643e54ea57c4d.tar.gz
gitea-2814f2fea1313992c588444ead3643e54ea57c4d.zip
Fix incorrect test code for error handling (#27139)
If `assert.NoError` fails, it should return. Otherwise the code could still execute even if the error occurs.
Diffstat (limited to 'routers/web/user')
0 files changed, 0 insertions, 0 deletions