diff --git a/test/unpack.js b/test/unpack.js index 7a26f393..b6919924 100644 --- a/test/unpack.js +++ b/test/unpack.js @@ -3043,9 +3043,7 @@ t.test('dirCache pruning unicode normalized collisions', { const check = (path, dirCache, t) => { path = path.replace(/\\/g, '/') - t.strictSame([...dirCache.entries()], [ - [`${path}/foo`, true], - ]) + t.strictSame([...dirCache.entries()][0], [`${path}/foo`, true]) t.equal(fs.readFileSync(path + '/foo/bar', 'utf8'), 'x') t.end() }