mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix tests: invoked later reparseFiles(file) interfere with highlighting in tests
This commit is contained in:
@@ -82,7 +82,7 @@ public final class LanguageSubstitutors extends LanguageExtension<LanguageSubsti
|
||||
if (ApplicationManager.getApplication().isDispatchThread()) {
|
||||
runnable.run();
|
||||
}
|
||||
else {
|
||||
else if (!ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
ApplicationManager.getApplication().invokeLater(runnable, modalityState);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user