void () { // Inspired by IDEA-57936 getSettings().IF_BRACE_FORCE = CommonCodeStyleSettings.FORCE_BRACES_ALWAYS; doMethodTest( "if (true) i = 1; // Cool if\n" + "else i = 2;", """ if (true) { i = 1; // Cool if } else { i = 2; }""" ); }