fix failing test for Invalidate Caches action

GitOrigin-RevId: d0485b3dd362ddf53b70de82ad64f48b8fc76f8e
This commit is contained in:
Eugene Petrenko
2021-03-18 14:46:46 +01:00
committed by intellij-monorepo-bot
parent 5932dd2221
commit 762cbcf8c8
2 changed files with 1 additions and 2 deletions

View File

@@ -94,7 +94,6 @@ 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('invcach', action) == MatchMode.NAME
}

View File

@@ -446,7 +446,7 @@
<action id="SaveAll" class="com.intellij.ide.actions.SaveAllAction" icon="AllIcons.Actions.MenuSaveall"/>
<action id="Synchronize" class="com.intellij.ide.actions.SynchronizeAction" icon="AllIcons.Actions.Refresh"/>
<action id="InvalidateCaches" class="com.intellij.ide.actions.InvalidateCachesAction">
<synonym text="restart"/>
<synonym text="Restart"/>
</action>
<separator/>
<group id="ExportImportGroup" popup="true">