void () { // Inspired by IDEA-69728 String initial = """ class Test { public void test() { String s = "test <caret>string"; } }"""; init(initial, PlainTextFileType.INSTANCE); executeAction("EditorStartNewLineBefore"); String expected = """ class Test { public void test() { String s = "test string"; } }"""; checkResultByText(expected); }