Add chmod test with incorrect mode value

This commit is contained in:
rhayes2 2018-09-25 00:27:31 -04:00
parent 294685d6cb
commit 7f155a0f40
1 changed files with 1 additions and 1 deletions

View File

@ -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');