From 8aa91401125a38c5b238fb56f995b8373f03a980 Mon Sep 17 00:00:00 2001 From: azou1 Date: Wed, 19 Sep 2018 17:11:42 -0400 Subject: [PATCH] issue 410 test fs.rename() errors if directory or file to rename doesnt exist --- tests/spec/fs.rename.spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/spec/fs.rename.spec.js b/tests/spec/fs.rename.spec.js index 29c028e..e506578 100644 --- a/tests/spec/fs.rename.spec.js +++ b/tests/spec/fs.rename.spec.js @@ -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();