diff --git a/spec/editor-spec.coffee b/spec/editor-spec.coffee index 8af1b05f2..de8d55bfb 100644 --- a/spec/editor-spec.coffee +++ b/spec/editor-spec.coffee @@ -2530,7 +2530,7 @@ describe "Editor", -> expect(editor.indentationForBufferRow(2)).toBe 1 describe "when the cursor is before whitespace", -> - it "indents the whitespace properly on the new line", -> + it "retains the whitespace following the cursor on the new line", -> editor.setText(" var sort = function() {}") editor.setCursorScreenPosition([0, 23]) editor.insertNewline()