void () { doTextTest( "java", """ public class Test { public static void main(String[] args) { String[] s = new String[] {<caret>}; } }""", """ public class Test { public static void main(String[] args) { String[] s = new String[] { <caret> }; } }""" ); }