mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test for IDEA-114108
This commit is contained in:
@@ -533,4 +533,16 @@ public class FindManagerTest extends DaemonAnalyzerTestCase {
|
||||
|
||||
FindManagerTestUtils.runFindForwardAndBackward(findManager, findModel, text, "java");
|
||||
}
|
||||
|
||||
public void testFindInShellCommentsOfGroovy() throws Exception{
|
||||
FindManager findManager = FindManager.getInstance(myProject);
|
||||
|
||||
FindModel findModel = FindManagerTestUtils.configureFindModel("done");
|
||||
findModel.setWholeWordsOnly(true);
|
||||
|
||||
String text = "#! done done done\n";
|
||||
|
||||
findModel.setInCommentsOnly(true);
|
||||
FindManagerTestUtils.runFindForwardAndBackward(findManager, findModel, text, "groovy");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user