mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
Fixed 'equals()' between objects of inconvertible types
GitOrigin-RevId: b7999cd69795bd2246b48c7fb1c91d1f5bf7de77
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5b35a3476f
commit
2c9ea7d69a
@@ -89,7 +89,7 @@ class GotoActionTest extends LightJavaCodeInsightFixtureTestCase {
|
||||
assert actionMatches('invalidate caches', action) == MatchMode.NAME
|
||||
assert actionMatches('cache invalid', action) == MatchMode.NAME
|
||||
assert actionMatches('rebuild of all caches', action) == MatchMode.DESCRIPTION
|
||||
assert actionMatches('restart', action) == ApplicationManager.application.isRestartCapable() ? MatchMode.NAME : MatchMode.NONE
|
||||
assert actionMatches('restart', action) == (ApplicationManager.application.isRestartCapable() ? MatchMode.NAME : MatchMode.NONE)
|
||||
assert actionMatches('invcach', action) == MatchMode.NAME
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ class LanguageExtensionOrderTest extends LightPlatformTestCase {
|
||||
def extensions = myLanguageExtension.allForLanguage(MyTestLanguage.INSTANCE)
|
||||
assert extensions.size() == classes.length
|
||||
def extensionClasses = extensions.collect { it.class }
|
||||
assert extensionClasses == classes
|
||||
assert extensionClasses == Arrays.asList(classes)
|
||||
}
|
||||
|
||||
void 'test language before base-language'() {
|
||||
|
||||
Reference in New Issue
Block a user