mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
gc'able AST for changed files
This commit is contained in:
@@ -29,7 +29,7 @@ import com.intellij.codeInspection.defaultFileTemplateUsage.DefaultFileTemplateU
|
||||
*/
|
||||
class AstLeaksTest extends LightCodeInsightFixtureTestCase {
|
||||
|
||||
public void "_test AST should be on a soft reference, for changed files as well"() {
|
||||
public void "test AST should be on a soft reference, for changed files as well"() {
|
||||
def file = myFixture.addClass('class Foo {}').containingFile
|
||||
assert file.findElementAt(0) instanceof PsiKeyword
|
||||
LeakHunter.checkLeak(file, JavaFileElement)
|
||||
|
||||
Reference in New Issue
Block a user