Fix lint issues in fs.stats.spec.js

This commit is contained in:
David Humphrey 2018-07-26 18:17:05 -04:00
parent 7258a2913e
commit 1c7b40c895
1 changed files with 4 additions and 2 deletions

View File

@ -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;