From a31044cc8d7da710672f9a8a0a68f4d5929ebacc Mon Sep 17 00:00:00 2001 From: David Humphrey Date: Fri, 27 Jul 2018 11:08:40 -0400 Subject: [PATCH] Fix lint issues in issue267.js --- tests/bugs/issue267.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/bugs/issue267.js b/tests/bugs/issue267.js index e13f256..5075b78 100644 --- a/tests/bugs/issue267.js +++ b/tests/bugs/issue267.js @@ -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(); }); });