You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/tests
Nanguan Lin dc04044716
Replace assert.Fail with assert.FailNow (#27578)
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.
10 months ago
..
e2e Require MySQL 8.0, PostgreSQL 12, MSSQL 2012 (#27337) 10 months ago
fuzz Move fuzz tests into tests/fuzz (#22376) 2 years ago
gitea-lfs-meta Test views of LFS files (#22196) 2 years ago
gitea-repositories-meta Allow get release download files and lfs files with oauth2 token format (#26430) 10 months ago
integration Replace assert.Fail with assert.FailNow (#27578) 10 months ago
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format (#26430) 10 months ago
mssql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 11 months ago
mysql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 11 months ago
pgsql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 11 months ago
sqlite.ini.tmpl Do not use deprecated log config options by default (#26592) 11 months ago
test_utils.go Allow get release download files and lfs files with oauth2 token format (#26430) 10 months ago