mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Intentions: assert the hint is closed only when there is nothing to show in it
This commit is contained in:
+2
-1
@@ -2293,8 +2293,9 @@ public class DaemonRespondToChangesTest extends DaemonAnalyzerTestCase {
|
||||
// it must be either hidden or not have that error anymore
|
||||
if (lastHintAfterDeletion != null) {
|
||||
assertFalse(lastHintBeforeDeletion.getCachedIntentions().toString(), lastHintBeforeDeletion.getCachedIntentions().getErrorFixes().stream().anyMatch(e -> e.getText().equals("Initialize variable 'var'")));
|
||||
} else {
|
||||
assertEmpty(visibleHints);
|
||||
}
|
||||
assertEmpty(visibleHints);
|
||||
}
|
||||
|
||||
public void testCodeFoldingPassRestartsOnRegionUnfolding() {
|
||||
|
||||
Reference in New Issue
Block a user