let findfiles2new use an array of includes/excludes (#226103)

* let findfiles2new use an array of includes/excludes
This commit is contained in:
Andrea Mah
2024-08-21 19:14:01 -07:00
committed by GitHub
parent 7e31cc0703
commit c2aa3c4625
3 changed files with 114 additions and 71 deletions

View File

@@ -619,6 +619,7 @@ suite('vscode API - workspace', () => {
test('findFiles2, exclude', () => {
return vscode.workspace.findFiles2('**/image.png', { exclude: '**/sub/**' }).then((res) => {
res.forEach(r => console.log(r.toString()));
assert.strictEqual(res.length, 1);
});
});