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