From 7f155a0f4011f327640a7b8f503da940d80b6464 Mon Sep 17 00:00:00 2001 From: rhayes2 Date: Tue, 25 Sep 2018 00:27:31 -0400 Subject: [PATCH] Add chmod test with incorrect mode value --- tests/spec/fs.chmod.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/fs.chmod.spec.js b/tests/spec/fs.chmod.spec.js index 0f7f166..1ed4ce5 100644 --- a/tests/spec/fs.chmod.spec.js +++ b/tests/spec/fs.chmod.spec.js @@ -44,7 +44,7 @@ describe('fs.chmod, fs.fchmod', function() { fs.mkdir('/file',function(err) { if(err) throw err; - + fs.chmod('file', 1000, function(err) { expect(err).to.exist; expect(err.code).to.equal('EINVAL');