Fix lint issues in #521
This commit is contained in:
parent
783e7a9e67
commit
83bd64fd58
|
@ -152,6 +152,7 @@ describe('fs.promises.rmdir', function(){
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('fsPromises.rmdir', function() {
|
describe('fsPromises.rmdir', function() {
|
||||||
beforeEach(util.setup);
|
beforeEach(util.setup);
|
||||||
afterEach(util.cleanup);
|
afterEach(util.cleanup);
|
||||||
|
@ -165,6 +166,7 @@ describe('fsPromises.rmdir', function() {
|
||||||
expect(error.code).to.equal('ENOENT');
|
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;
|
var fs = util.fs().promises;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue