void () { myFixture.configureByText("a.sh", "while [ <caret> ]; do\n \ndone"); assertTrue(myFixture.completeBasic().length > 0); myFixture.configureByText("a.sh", "while [ ]whi<caret>; do\n \ndone"); assertEmpty(myFixture.completeBasic()); myFixture.configureByText("a.sh", "while [ ]; wh<caret> do\n \ndone"); assertEmpty(myFixture.completeBasic()); }