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.
Nick 52e24167e5
Test renderReadmeFile (#23185)
Add test coverage to the important features of
[`routers.web.repo.renderReadmeFile`](067b0c2664/routers/web/repo/view.go (L273));
namely that:

- it can handle looking in docs/, .gitea/, and .github/
- it can handle choosing between multiple competing READMEs
- it prefers the localized README to the markdown README to the
plaintext README
- it can handle broken symlinks when processing all the options
- it uses the name of the symlink, not the name of the target of the
symlink
1 year ago
..
install Implement FSFE REUSE for golang files (#21840) 2 years ago
paginator Implement FSFE REUSE for golang files (#21840) 2 years ago
common.go Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago
consistency.go Implement FSFE REUSE for golang files (#21840) 2 years ago
context.go Remove all package data after tests (#22984) 1 year ago
context_committer_test.go Fix halfCommitter and WithTx (#22366) 2 years ago
context_test.go Always reuse transaction (#22362) 2 years ago
convert.go Implement FSFE REUSE for golang files (#21840) 2 years ago
engine.go Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago
engine_test.go Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
error.go Always reuse transaction (#22362) 2 years ago
index.go Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago
index_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
iterate.go Implement FSFE REUSE for golang files (#21840) 2 years ago
iterate_test.go Test renderReadmeFile (#23185) 1 year ago
list.go Fix db.Find bug (#23115) 1 year ago
list_test.go Test renderReadmeFile (#23185) 1 year ago
log.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
name.go Implement FSFE REUSE for golang files (#21840) 2 years ago
search.go Show all projects, not just repo projects and open/closed projects (#22640) 1 year ago
sequence.go Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago
sql_postgres_with_schema.go Fix .golangci.yml (#22868) 1 year ago