mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-202946 vcs: enable "History for Selection" without selection - fix test
follow-up: 7e1f936cae
This commit is contained in:
+2
-2
@@ -112,9 +112,9 @@ public class LocalHistoryActionsTest extends LocalHistoryUITestCase {
|
||||
assertStatus(a, null, false);
|
||||
}
|
||||
|
||||
public void testShowSelectionHistoryActionIsDisabledForEmptySelection() {
|
||||
public void testShowSelectionHistoryActionIsEnabledForEmptySelection() {
|
||||
ShowSelectionHistoryAction a = new ShowSelectionHistoryAction();
|
||||
assertStatus(a, f, false);
|
||||
assertStatus(a, f, true);
|
||||
}
|
||||
|
||||
private void assertStatus(AnAction a, VirtualFile f, boolean isEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user