void () { doTest(""" class StringTemplateMigration { void test() { int requestCode = 200; String helloJSON = "{\\n" + " \\"cod\\": \\"" + <caret>requestCode + "\\",\\n" + " \\"message\\": 0,\\n" + " \\"cnt\\": 40,\\n" + " \\"city\\": {\\n" + " \\"id\\": 524901,\\n" + " \\"name\\": \\"ABC\\",\\n" + " \\"coord\\": {\\n" + " \\"lat\\": 55.7522,\\n" + " \\"lon\\": 37.6156\\n" + " },\\n" + " \\"country\\": \\"XY\\",\\n" + " \\"population\\": 0,\\n" + " \\"timezone\\": 10800,\\n" + " \\"sunrise\\": 1688431913,\\n" + " \\"sunset\\": 1688494529\\n" + " }\\n" + "}"; } }""", """ class StringTemplateMigration { void test() { int requestCode = 200; String helloJSON = STR.""\" { "cod": \\"\\{requestCode}", "message": 0, "cnt": 40, "city": { "id": 524901, "name": "ABC", "coord": { "lat": 55.7522, "lon": 37.6156 }, "country": "XY", "population": 0, "timezone": 10800, "sunrise": 1688431913, "sunset": 1688494529 } }""\"; } }"""); }