提交 43f2710f 编写于 作者: R Rob Lourens

Reenable disabled test - fix #73604

上级 f794ad0a
...@@ -77,7 +77,7 @@ export class FileWalker { ...@@ -77,7 +77,7 @@ export class FileWalker {
this.errors = []; this.errors = [];
if (this.filePattern) { if (this.filePattern) {
this.normalizedFilePatternLowercase = prepareQuery(this.filePattern).value; this.normalizedFilePatternLowercase = prepareQuery(this.filePattern).lowercase;
} }
this.globalExcludePattern = config.excludePattern && glob.parse(config.excludePattern); this.globalExcludePattern = config.excludePattern && glob.parse(config.excludePattern);
......
...@@ -290,25 +290,25 @@ suite('FileSearchEngine', () => { ...@@ -290,25 +290,25 @@ suite('FileSearchEngine', () => {
}); });
}); });
// test('Files: NPE (CamelCase)', function (done: () => void) { test('Files: NPE (CamelCase)', function (done: () => void) {
// this.timeout(testTimeout); this.timeout(testTimeout);
// const engine = new FileSearchEngine({ const engine = new FileSearchEngine({
// type: QueryType.File, type: QueryType.File,
// folderQueries: ROOT_FOLDER_QUERY, folderQueries: ROOT_FOLDER_QUERY,
// filePattern: 'NullPE' filePattern: 'NullPE'
// }); });
// let count = 0; let count = 0;
// engine.search((result) => { engine.search((result) => {
// if (result) { if (result) {
// count++; count++;
// } }
// }, () => { }, (error) => { }, () => { }, (error) => {
// assert.ok(!error); assert.ok(!error);
// assert.equal(count, 1); assert.equal(count, 1);
// done(); done();
// }); });
// }); });
test('Files: *.*', function (done: () => void) { test('Files: *.*', function (done: () => void) {
this.timeout(testTimeout); this.timeout(testTimeout);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册