diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-09-20 08:51:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-20 08:51:36 +0800 |
commit | 2814f2fea1313992c588444ead3643e54ea57c4d (patch) | |
tree | 5542c3aa9962a31025b3ece934149c05652499df /routers/web/user | |
parent | 1b1c55f73f85f647209df0ab1ebdd60040231b0a (diff) | |
download | gitea-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