mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 14:37:45 +07:00
IDEA-71823 Problem with Code Style
'Space after comma' code style setting is respected for java method call arguments
This commit is contained in:
@@ -356,4 +356,14 @@ public class JavaFormatterSpaceTest extends AbstractJavaFormatterTest {
|
||||
doMethodTest("try (R r = null) { }",
|
||||
"try (R r=null) { }");
|
||||
}
|
||||
|
||||
public void testBetweenMethodCallArguments() throws Exception {
|
||||
// Inspired by IDEA-71823
|
||||
getSettings().SPACE_AFTER_COMMA = false;
|
||||
|
||||
doMethodTest(
|
||||
"foo(1, 2, 3);",
|
||||
"foo(1,2,3);"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user