Fix lint issues in #521

This commit is contained in:
David Humphrey 2018-12-14 22:17:15 -05:00
parent 783e7a9e67
commit 83bd64fd58
1 changed files with 11 additions and 9 deletions

View File

@ -152,6 +152,7 @@ describe('fs.promises.rmdir', function(){
});
});
});
describe('fsPromises.rmdir', function() {
beforeEach(util.setup);
afterEach(util.cleanup);
@ -165,7 +166,8 @@ describe('fsPromises.rmdir', function() {
expect(error.code).to.equal('ENOENT');
});
});
it('should return an error if attempting to remove the root directory', function(){
it('should return an error if attempting to remove the root directory', function() {
var fs = util.fs().promises;
return fs.rmdir('/')