void () { doTextTest("java", """ public class TryFinallyCatch { public static void main(String[] args) { try { System.out.println("Hello"); }<caret> finally{\s } } }""", """ public class TryFinallyCatch { public static void main(String[] args) { try { System.out.println("Hello"); } <caret> finally{\s } } }"""); }