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