IDEA-72317 Java Formatter: Separate 'Space before array initializer left brace' for annotation arguments and arrays

Test is corrected
This commit is contained in:
Denis.Zhdanov
2011-07-28 12:33:34 +04:00
parent 29aa682809
commit 63563c354e
@@ -33,7 +33,7 @@ public class JavaFormatterSpaceTest extends AbstractJavaFormatterTest {
public void testSpaceBeforeAnnotationParamArray() {
// Inspired by IDEA-24329
getSettings().SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE = true;
getSettings().SPACE_BEFORE_ANNOTATION_ARRAY_INITIALIZER_LBRACE = true;
String text =
"@SuppressWarnings( {\"ALL\"})\n" +