IDEA-71823 Problem with Code Style

'Space after comma' code style setting is respected for java method call arguments
This commit is contained in:
Denis Zhdanov
2011-07-11 17:21:54 +04:00
parent 1275eb5e5b
commit c013a7a130
2 changed files with 11 additions and 1 deletions
@@ -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);"
);
}
}