Should also support upper-case README files (#20581)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Gary WangandLunny Xiao authored and GitHub committed 2022-08-01 20:15:40 +08:00
1 parent e56005f901
commit 72b1fd7fdd
2 files changed
+12

No files matched your search

+10
View File
@@ -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,