mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
minor: use assertInstanceOf
This commit is contained in:
@@ -58,7 +58,7 @@ public class ResolveInCodeFragmentTest extends ResolveTestCase {
|
||||
|
||||
PsiExpression expr = (PsiExpression) fileContent[0];
|
||||
PsiElement resolve = ((PsiReferenceExpressionImpl)expr).resolve();
|
||||
assertTrue("Must be local variable, not a field", resolve instanceof PsiLocalVariable);
|
||||
assertInstanceOf(resolve, PsiLocalVariable.class);
|
||||
}
|
||||
|
||||
private PsiReference configure() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user