Fix lint issues in fs.unlink.spec.js

This commit is contained in:
David Humphrey 2018-07-26 18:02:16 -04:00
parent 94e6a98cb8
commit bb8743eda1
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ describe('fs.unlink', function() {
fs.stat('/myfile', function(error, result) { fs.stat('/myfile', function(error, result) {
expect(error).to.exist; expect(error).to.exist;
expect(result).not.to.exist;
complete1 = true; complete1 = true;
maybeDone(); maybeDone();
}); });
@ -65,6 +66,7 @@ describe('fs.unlink', function() {
fs.lstat('/myFileLink', function (error, result) { fs.lstat('/myFileLink', function (error, result) {
expect(error).to.exist; expect(error).to.exist;
expect(result).not.to.exist;
fs.lstat('/myotherfile', function (error, result) { fs.lstat('/myotherfile', function (error, result) {
if (error) throw error; if (error) throw error;