Skip to content

Commit a247a23

Browse files
Fix the getFiles() system tests.
1 parent ed476d0 commit a247a23

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/test/common/platform/filesystem.test.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,16 +455,17 @@ suite('FileSystem Utils', () => {
455455
const file1 = await fix.createFile('x/y/z/scripts/spam.py');
456456
await fix.createDirectory('x/y/z/scripts/v');
457457
const file2 = await fix.createFile('x/y/z/scripts/eggs.py');
458-
await fix.createSocket('x/y/z/scripts/spam.sock');
458+
const file3 = await fix.createSocket('x/y/z/scripts/spam.sock');
459459
await fix.createSymlink('x/y/z/scripts/other', symlinkSource);
460-
const file3 = await fix.createFile('x/y/z/scripts/data.json');
460+
const file4 = await fix.createFile('x/y/z/scripts/data.json');
461461

462462
const results = await utils.getFiles(dirname);
463463

464464
expect(results.sort()).to.deep.equal([
465-
file3,
465+
file4,
466466
file2,
467-
file1
467+
file1,
468+
file3
468469
]);
469470
});
470471

0 commit comments

Comments
 (0)