Fix lint issues in issue267.js

This commit is contained in:
David Humphrey 2018-07-27 11:08:40 -04:00
parent 454d5bc801
commit a31044cc8d
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ describe('fs.readdir on non-dir paths, issue 267', function() {
fs.readdir('/myfile.txt', function(err, contents) {
expect(err).to.exist;
expect(err.code).to.equal('ENOTDIR');
expect(contents).not.to.exist;
done();
});
});