mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 21:36:59 +02:00
Should also support upper-case README files (#20581)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
1 parent
e56005f901
commit
72b1fd7fdd
2 files changed
+12
No files matched your search
@@ -58,6 +58,16 @@ func TestMisc_IsReadmeFile(t *testing.T) {
|
||||
expected: true,
|
||||
idx: 0,
|
||||
},
|
||||
{
|
||||
name: "README.md",
|
||||
expected: true,
|
||||
idx: 0,
|
||||
},
|
||||
{
|
||||
name: "ReAdMe.Md",
|
||||
expected: true,
|
||||
idx: 0,
|
||||
},
|
||||
{
|
||||
name: "readme.txt",
|
||||
expected: true,
|
||||
|
||||
Reference in new issue
Block a user