void () { doTextTest( "java", """ package com.acme; public class Main { public static void main(String[] args) { if (true) System.out.println(); else<caret> System.out.println(); } }""", """ package com.acme; public class Main { public static void main(String[] args) { if (true) System.out.println(); else <caret> System.out.println(); } }""" ); }