void () { getSettings().KEEP_BLANK_LINES_IN_DECLARATIONS = 2; getSettings().KEEP_BLANK_LINES_BEFORE_RBRACE = 0; doTextTest( """ enum Test { TEST1, TEST2, TEST3; }""", """ enum Test { TEST1, TEST2, TEST3; }""" ); }