Skip to content

Commit e5a223c

Browse files
committedAug 19, 2021
fix(test): make unpack test pass on case-sensitive fs
1 parent 188badd commit e5a223c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎test/unpack.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -3043,9 +3043,7 @@ t.test('dirCache pruning unicode normalized collisions', {
30433043

30443044
const check = (path, dirCache, t) => {
30453045
path = path.replace(/\\/g, '/')
3046-
t.strictSame([...dirCache.entries()], [
3047-
[`${path}/foo`, true],
3048-
])
3046+
t.strictSame([...dirCache.entries()][0], [`${path}/foo`, true])
30493047
t.equal(fs.readFileSync(path + '/foo/bar', 'utf8'), 'x')
30503048
t.end()
30513049
}

0 commit comments

Comments
 (0)