void () { init("class Foo { String s = \"a\\nb<caret>\"; }", JavaFileType.INSTANCE); executeAction(IdeActions.ACTION_EDITOR_DELETE_TO_WORD_START); checkResultByText("class Foo { String s = \"a\\n<caret>\"; }"); }