[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
test[nodeJS] 049 File System (finalizing)
"049-100 Finalizing file system test"
| fileNames fs pathName |
fs := NodeJS fs.
#( 'Sample.txt'
'Sample43-1.txt'
'Sample43-2.txt'
'Sample43-3.txt'
'Sample43-4.txt'
'Sample43-5.txt'
'Sample43-6.txt'
'Sample43-7.txt'
'Sample43-8.txt'
'Sample43-9.txt'
'Sample43-10.txt'
'Sample46-1.txt'
'Sample46-2.txt'
'Sample46-3.txt'
'Sample46-4.txt'
'Sample46-5.txt'
'Sample46-6.txt'
'Sample46-7.txt'
'Sample46-8.txt'
'Sample47-10.txt'
'Sample47-11.txt'
'Sample47-12_.txt'
'Sample47-13_.txt'
'Sample48-3.txt'
'Sample48-4.txt'
'Sample48-5.txt'
'Sample48-6.txt'
'Sample49-4.txt'
'Sample49-5.txt' ) do:[:file| | pathName |
pathName := TestPath, file.
(fs existsSync: pathName ) ifTrue:[
fs unlinkSync: pathName.
]
].