void () { doTextTest("java", """ class Test { private void foo(String p) { switch (p) { case "123": //some comment about this case if (false) {<caret> } break; default: break; } \s } }""", """ class Test { private void foo(String p) { switch (p) { case "123": //some comment about this case if (false) { <caret> } break; default: break; } \s } }"""); }