Skip to content

Commit 6170c39

Browse files
committed
chore: update test
1 parent 280ab0d commit 6170c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/zip/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ describe('test/zip/index.test.js', () => {
288288
fs.mkdirSync(destDir, { recursive: true });
289289
await compressing.zip.uncompress(destFile, destDir);
290290
const stat = fs.statSync(path.join(destDir, 'bin'));
291-
assert(stat.mode === originStat.mode);
291+
assert.equal(stat.mode, originStat.mode, 'file mode should be same after uncompress');
292292
// console.log(destDir);
293293
});
294294
});

0 commit comments

Comments
 (0)