mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
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
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
x<01><>;<0E>0@<40>s
|
||||
_<EFBFBD>*N뤕bcc<63><02><>Њ<EFBFBD>Tҁ<54>S!N<><4E><EFBFBD><EFBFBD><EFBFBD>d<1E>><3E><><EFBFBD>!<21><><10>քLu<>Ul<55>#q<><71><EFBFBD><EFBFBD>l<EFBFBD>Q<EFBFBD>,<2C>ꔡ<EFBFBD><EA94A1>lCBn$6<><36>X<EFBFBD>Dɹ<44>bbҖR0<><30><EFBFBD><EFBFBD><EFBFBD>y<EFBFBD>[/O<>n<EFBFBD><6E><EFBFBD>
|
||||
<EFBFBD>i<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2<0F>1<0F><>Ї@<40>e<EFBFBD>p<EFBFBD>d<EFBFBD><64><EFBFBD>iޭ<69>殯<0C><>!<21><<3C><07><>N<EFBFBD>
|
Reference in New Issue
Block a user