Test fix (nullability fixed)

This commit is contained in:
Ilya.Kazakevich
2018-06-04 20:52:11 +03:00
parent a9d7b3fdd2
commit a114fd4f24
@@ -188,11 +188,13 @@ public abstract class PyTestCase extends UsefulTestCase {
return ourPyDescriptor;
}
@Nullable
protected PsiReference findReferenceBySignature(final String signature) {
int pos = findPosBySignature(signature);
return findReferenceAt(pos);
}
@Nullable
protected PsiReference findReferenceAt(int pos) {
return myFixture.getFile().findReferenceAt(pos);
}