gc'able AST for changed files

This commit is contained in:
peter
2012-03-23 12:34:46 +01:00
parent ad39ebc9a6
commit e9686b5b30
2 changed files with 2 additions and 3 deletions
@@ -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)