IDEA-83475 Disable autopopup in unfinished String literals

This commit is contained in:
peter
2012-03-26 11:52:32 +02:00
parent dcaba17abe
commit b29c48de77
2 changed files with 29 additions and 3 deletions
@@ -1240,4 +1240,16 @@ class Foo {{
assert myFixture.lookupElementStrings.containsAll(['too', 'command.toString'])
}
public void testUnfinishedString() {
myFixture.configureByText 'a.java', '''
// Date
class Foo {
String s = "<caret>
String s2 = s;
}
'''
type 'D'
assert !lookup
}
}