From 1c7b40c895ddd9e4aa4fa393515238f9ab6be6fa Mon Sep 17 00:00:00 2001 From: David Humphrey Date: Thu, 26 Jul 2018 18:17:05 -0400 Subject: [PATCH] Fix lint issues in fs.stats.spec.js --- tests/spec/fs.stats.spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/spec/fs.stats.spec.js b/tests/spec/fs.stats.spec.js index eb53241..6552cea 100644 --- a/tests/spec/fs.stats.spec.js +++ b/tests/spec/fs.stats.spec.js @@ -45,6 +45,8 @@ describe('fs.stats', function() { if(error) throw error; fs.close(fd, function(error, stats) { if(error) throw error; + expect(stats).to.exist; + fs.symlink('/myfile', '/myfilelink', function(error) { if(error) throw error; fs.lstat('/myfilelink', function(error, stats) { @@ -97,7 +99,7 @@ describe('fs.stats', function() { fs.open('/myfile', 'w+', function(error, fd) { if(error) throw error; - fs.close(fd, function(error, stats) { + fs.close(fd, function(error) { if(error) throw error; fs.symlink('/myfile', '/myfilelink', function(error) { if(error) throw error; @@ -197,7 +199,7 @@ describe('fs.stats', function() { fs.open('/myfile', 'w+', function(error, fd) { if(error) throw error; - fs.close(fd, function(error, stats) { + fs.close(fd, function(error) { if(error) throw error; fs.symlink('/myfile', '/myfilelink', function(error) { if(error) throw error;