void () { doTest(""" class StringTemplateMigration { void test(int i) { String test = (((1 + 2) - (3*i))) + <caret>" = number = "+(1+2); } }""", """ class StringTemplateMigration { void test(int i) { String test = STR."\\{(1 + 2) - (3 * i)} = number = \\{1 + 2}"; } }"""); }