Skip to content

Commit e324a75

Browse files
Fix the getFiles() system tests.
1 parent fbea722 commit e324a75

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
@@ -468,16 +468,17 @@ suite('FileSystem Utils', () => {
468468
const file1 = await fix.createFile('x/y/z/scripts/spam.py');
469469
await fix.createDirectory('x/y/z/scripts/v');
470470
const file2 = await fix.createFile('x/y/z/scripts/eggs.py');
471-
await fix.createSocket('x/y/z/scripts/spam.sock');
471+
const file3 = await fix.createSocket('x/y/z/scripts/spam.sock');
472472
await fix.createSymlink('x/y/z/scripts/other', symlinkSource);
473-
const file3 = await fix.createFile('x/y/z/scripts/data.json');
473+
const file4 = await fix.createFile('x/y/z/scripts/data.json');
474474

475475
const results = await utils.getFiles(dirname);
476476

477477
expect(results.sort()).to.deep.equal([
478-
file3,
478+
file4,
479479
file2,
480-
file1
480+
file1,
481+
file3
481482
]);
482483
});
483484

0 commit comments

Comments
 (0)