mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Minor Use assertEquals instead of direct comparison
This commit is contained in:
@@ -681,7 +681,7 @@ public class PyResolveTest extends PyResolveTestCase {
|
||||
PsiElement target = resolve();
|
||||
assertTrue(target instanceof PyNumericLiteralExpression);
|
||||
assertNotNull(((PyNumericLiteralExpression)target).getLongValue());
|
||||
assertTrue(((PyNumericLiteralExpression)target).getLongValue() == 4181);
|
||||
assertEquals(Long.valueOf(4181), ((PyNumericLiteralExpression)target).getLongValue());
|
||||
}
|
||||
|
||||
public void testPercentStringKeyWordArgWithParentheses() {
|
||||
|
||||
Reference in New Issue
Block a user