void () { // Inspired by IDEA-178795 getSettings().CLASS_ANNOTATION_WRAP = CommonCodeStyleSettings.DO_NOT_WRAP; getSettings().KEEP_LINE_BREAKS = true; // Expecting the code to be left as-is String text = """ @Test class MyClass { }"""; doTextTest(text, text); }