Skip to content

Commit 514cee0

Browse files
committed
add test for isUnixSymlink
1 parent 9fb853b commit 514cee0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/zip-archive-entry.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,10 @@ describe('ZipArchiveEntry', function() {
298298
});
299299

300300
describe('#isUnixSymlink', function() {
301-
it('should verify symlinks can be set', function() {
301+
it('should return a boolean if the entry is a symlink', function() {
302302
entry.setUnixMode(UnixStat.LINK_FLAG);
303303
assert.ok(entry.isUnixSymlink());
304+
304305
entry.setUnixMode(UnixStat.LINK_FLAG | UnixStat.DIR_FLAG);
305306
assert.notOk(entry.isUnixSymlink());
306307
});

0 commit comments

Comments
 (0)