Skip to content

Commit

Permalink
Add test for proper attr column handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeschastny committed Mar 29, 2016
1 parent ab50ece commit feb36e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added test/attr.7z
Binary file not shown.
9 changes: 9 additions & 0 deletions test/lib/list.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,13 @@ describe('Method: `Zip.list`', function () {
});
});

it('should not ignore read-only, hidden and system files', function () {
var files = [];
return list('test/attr.7z').progress(function (chunk) {
[].push.apply(files, chunk);
}).then(function () {
expect(files.length).to.be.eql(9);
});
});

});

0 comments on commit feb36e6

Please sign in to comment.