Fix lint issues in fs.unlink.spec.js
This commit is contained in:
parent
94e6a98cb8
commit
bb8743eda1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue