From fceb0b3c573fb8fb57df4d26b44f94bffe48f13c Mon Sep 17 00:00:00 2001 From: Alexei Kozachenko Date: Mon, 1 Oct 2018 13:45:28 -0400 Subject: [PATCH] Fixed spelling errors and line formatting --- tests/spec/fs.mkdtemp.spec.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/spec/fs.mkdtemp.spec.js b/tests/spec/fs.mkdtemp.spec.js index 38c401f..7be66ba 100644 --- a/tests/spec/fs.mkdtemp.spec.js +++ b/tests/spec/fs.mkdtemp.spec.js @@ -10,7 +10,7 @@ describe('fs.mkdtemp', function() { expect(fs.mkdtemp).to.be.a('function'); }); - it('should craete temp dir with specified prefix', function(done) { + it('should create temp dir with specified prefix', function(done) { var fs = util.fs(); fs.mkdtemp('foo', function(error, path) { expect(error).not.to.exist; @@ -18,7 +18,8 @@ describe('fs.mkdtemp', function() { done(); }); }); - it('should craete temp dir inside existing directory', function(done) { + + it('should create temp dir inside existing directory', function(done) { var fs = util.fs(); fs.mkdir('/myDir', (error) => { expect(error).not.to.exist; @@ -28,7 +29,6 @@ describe('fs.mkdtemp', function() { done(); }); }); - }); it('should not create temp dir without prefix', function(done) { @@ -39,6 +39,7 @@ describe('fs.mkdtemp', function() { done(); }); }); + it('should not create temp dir inside non existing dir', function(done) { var fs = util.fs(); fs.mkdtemp('/doesNotExists/foo', function(error, path) {