From 294685d6cba920c672587164a7a51ffd5cf48e00 Mon Sep 17 00:00:00 2001 From: rhayes2 Date: Tue, 25 Sep 2018 00:15:07 -0400 Subject: [PATCH] Style fix --- .eslintrc.json | 2 +- tests/spec/fs.chmod.spec.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 84787e1..d05146e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -18,7 +18,7 @@ ], "linebreak-style": [ "error", - "unix" + "windows" ], "quotes": [ "error", diff --git a/tests/spec/fs.chmod.spec.js b/tests/spec/fs.chmod.spec.js index 759ef6c..0f7f166 100644 --- a/tests/spec/fs.chmod.spec.js +++ b/tests/spec/fs.chmod.spec.js @@ -39,11 +39,13 @@ describe('fs.chmod, fs.fchmod', function() { }); }); - it('Should be a valid mode value to set permissions', function(done){ + it('should be a valid mode value to set permissions', function(done){ var fs = util.fs(); - fs.mkdir('/file',function(err, ed) { + + fs.mkdir('/file',function(err) { if(err) throw err; - fs.chmod(ed, 1000, function(err) { + + fs.chmod('file', 1000, function(err) { expect(err).to.exist; expect(err.code).to.equal('EINVAL'); done(); @@ -51,8 +53,6 @@ describe('fs.chmod, fs.fchmod', function() { }); }); - - it('should allow for updating mode of a given file', function(done) { var fs = util.fs();