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:
co-authored by
Claude Opus 5.5
parent
d4fe3bf4ba
commit
8f443c9214
@@ -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'))
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user