void () { doTextTest( "java", """ package com.company; class Test { void foo() { int[] ints = {<caret>1, 2}; } }""", """ package com.company; class Test { void foo() { int[] ints = { <caret>1, 2}; } }""" ); }