mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
failing test for PY-8195 #4
This commit is contained in:
@@ -171,7 +171,7 @@ public class PyBlock implements ASTBlock {
|
||||
else {
|
||||
childIndent = parentType == PyElementTypes.PARAMETER_LIST || isInControlStatement()
|
||||
? Indent.getContinuationIndent()
|
||||
: Indent.getNormalIndent();
|
||||
: Indent.getNormalIndent(true);
|
||||
}
|
||||
}
|
||||
else if (parentType == PyElementTypes.DICT_LITERAL_EXPRESSION || parentType == PyElementTypes.SET_LITERAL_EXPRESSION ||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
logging.warn('some_very_{long}_'
|
||||
'amount_of_{text}'.format(
|
||||
long='long',
|
||||
text='text'))
|
||||
@@ -0,0 +1,4 @@
|
||||
logging.warn('some_very_{long}_'
|
||||
'amount_of_{text}'.format(
|
||||
long='long',
|
||||
text='text'))
|
||||
@@ -268,6 +268,10 @@ public class PyFormatterTest extends PyTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIndentInNestedCall() { // PY-8195
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIndentAfterBackslash() {
|
||||
doTest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user