test: add new corner cases for linguist v7.26

test plan
 - go test -run '^Test_EnryOnLinguistCorpus$' github.com/go-enry/go-enry/v2
This commit is contained in:
Alex Bezzubov
2023-09-22 13:38:49 +02:00
parent cc878e354c
commit bd3630419c
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,12 @@ func (s *linguistCorpusSuite) TestLinguistSamples() {
"anti-facebook.txt": true,
"fake-news.txt": true,
"test_rules.txt": true,
// backreference in .plist heuristics for "XML Property List" language https://github.com/go-enry/go-enry/pull/169#discussion_r1319889500
// upsteam fix comming in https://github.com/go-enry/go-enry/pull/169#issuecomment-1708840755
"ff-man.plist": true,
"info.min.plist": true,
"info.plist": true,
"man.plist": true,
}
var total, failed, ok, other int