test: add cleanup to long path test

This commit is contained in:
Scott Blomquist
2013-02-28 09:18:12 -08:00
parent cb87920ba9
commit 1762ba37ca

View File

@@ -47,5 +47,6 @@ fs.writeFile(fullPath, 'ok', function(err) {
});
process.on('exit', function() {
fs.unlinkSync(fullPath);
assert.equal(2, successes);
});