mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
disable 'too many suspicious ids' heuristics in tests
This commit is contained in:
@@ -844,7 +844,7 @@ public class PsiSearchHelperImpl implements PsiSearchHelper {
|
||||
}
|
||||
});
|
||||
|
||||
if (set == null || set.size() > 1000) {
|
||||
if (set == null || set.size() > 1000 && !ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
return SearchCostResult.TOO_MANY_OCCURRENCES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user