Lint: the new route inventory, its tests and the touched tests

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 20:33:04 +01:00
co-authored by Claude Opus 5.5
parent d4fe3bf4ba
commit 8f443c9214
8 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -369,7 +369,7 @@ describe('3 · refused files leave no submission and send no e-mail', () => {
test('a program inside an Office file is found also with trailing dots or spaces (Windows drops them)', async () => {
for (const entry of ['word/setup.exe', 'word/setup.exe.', 'word/setup.exe ', 'word/setup.EXE. .', 'word/vbaProject.bin.']) {
const data = zip({ '[Content_Types].xml': '<Types/>', 'word/document.xml': '<w:document/>', [entry]: 'x' })
const data = zip({ '[Content_Types].xml': '<Types/>', [entry]: 'x', 'word/document.xml': '<w:document/>' })
await refused([{ name: 'cv.docx', data }], notAcceptable('cv.docx'))
}
})