Fix lint issues in issue267.js
This commit is contained in:
parent
454d5bc801
commit
a31044cc8d
|
@ -14,6 +14,7 @@ describe('fs.readdir on non-dir paths, issue 267', function() {
|
||||||
fs.readdir('/myfile.txt', function(err, contents) {
|
fs.readdir('/myfile.txt', function(err, contents) {
|
||||||
expect(err).to.exist;
|
expect(err).to.exist;
|
||||||
expect(err.code).to.equal('ENOTDIR');
|
expect(err.code).to.equal('ENOTDIR');
|
||||||
|
expect(contents).not.to.exist;
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue