Skip to content

Commit

Permalink
Fix tests in Node 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Feb 15, 2017
1 parent 3524b10 commit c2bcb22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fs-spec.js
Expand Up @@ -186,8 +186,8 @@ describe('m-io/fs', function () {
it('should copy a complete directore path', function () {
return mfs.copyTree('test/fixtures/dir', 'tmp/test/copytree/dir')
.then(function () {
const dirs = ['dir', 'dir/subdir']
const files = ['dir/subdir/donotdelete.txt', 'dir/file.txt']
var dirs = ['dir', 'dir/subdir']
var files = ['dir/subdir/donotdelete.txt', 'dir/file.txt']
dirs.forEach(function (dir) {
fs.readdirSync('tmp/test/copytree/' + dir)
.should.deep.equal(fs.readdirSync('test/fixtures/' + dir),
Expand Down

0 comments on commit c2bcb22

Please sign in to comment.