mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't inject invalid groovy (with <caret>) in TypeInferenceTest
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ abstract class TypeInferenceTestBase extends GroovyResolveTestCase {
|
||||
myFixture.addClass("package java.math; public class BigDecimal extends Number implements Comparable<BigDecimal> {}");
|
||||
}
|
||||
|
||||
protected void doTest(@Language("Groovy") String text, @Nullable String type) {
|
||||
protected void doTest(String text, @Nullable String type) {
|
||||
def file = myFixture.configureByText('_.groovy', text)
|
||||
def ref = file.findReferenceAt(myFixture.editor.caretModel.offset) as GrReferenceExpression
|
||||
def actual = ref.type
|
||||
|
||||
Reference in New Issue
Block a user