issue 410 test fs.rename() errors if directory or file to rename doesnt exist

This commit is contained in:
azou1 2018-09-19 17:11:42 -04:00
parent f2ff999f8a
commit 8aa9140112
1 changed files with 1 additions and 2 deletions

View File

@ -62,14 +62,13 @@ describe('fs.rename', function() {
fs.stat('/myotherdir', function(error, result) {
expect(error).not.to.exist;
expect(result.nlinks).to.equal(1);
expect(result.nlinks).to.equal(1)g;
done();
});
});
});
});
});
//337
it('should error if the file or directory to rename doesnt exist', function(done) {
var fs = util.fs();