void () { IdeaTestUtil.withLevel(getModule(), LanguageLevel.JDK_21_PREVIEW, () -> { doTest(""" Integer i = 5; String s1 = ""<caret> String s = STR."\\{i}";""", """ Integer i = 5; String s1 = ""\" ""\" String s = STR."\\{i}";"""); }); }