issue-410 test fs.rename() errors when file/directory to rename doesnt exist

This commit is contained in:
azou1 2018-09-19 17:22:51 -04:00
parent 50ece50504
commit 498e76cf9d
1 changed files with 0 additions and 2 deletions

View File

@ -71,11 +71,9 @@ describe('fs.rename', function() {
}); });
it('should return error if the file or directory to rename doesnt exist', function(done) { it('should return error if the file or directory to rename doesnt exist', function(done) {
var fs = util.fs(); var fs = util.fs();
fs.rename('/fakeDirectory', '/myotherdir', function(error) { fs.rename('/fakeDirectory', '/myotherdir', function(error) {
expect(error).to.exist; expect(error).to.exist;
done(); done();
}); });
}); });