Style fix
This commit is contained in:
parent
546b4567d2
commit
294685d6cb
|
@ -18,7 +18,7 @@
|
|||
],
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
"windows"
|
||||
],
|
||||
"quotes": [
|
||||
"error",
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue