This commit is contained in:
Corey Johnson 2012-02-06 15:36:16 -08:00
parent ec195f1b08
commit b8f6dd1c2a

View File

@ -25,7 +25,7 @@ describe "VimMode", ->
editor.trigger event
expect(event.stopPropagation).not.toHaveBeenCalled()
it "does not allow the cursor to be placed on the \n charachter, unless the line is empty", ->
it "does not allow the cursor to be placed on the \n character, unless the line is empty", ->
editor.buffer.setText("012345\n\nabcdef")
editor.setCursorPosition([0, 5])
expect(editor.getCursorPosition()).toEqual [0,5]