diff --git a/spec/text-editor-spec.coffee b/spec/text-editor-spec.coffee index 4dc035f07..1289dcbfd 100644 --- a/spec/text-editor-spec.coffee +++ b/spec/text-editor-spec.coffee @@ -299,7 +299,7 @@ describe "TextEditor", -> it "positions the cursor at the buffer position that corresponds to the given screen position", -> editor.setCursorScreenPosition([9, 0]) - expect(editor.getCursorBufferPosition()).toEqual [8, 10] + expect(editor.getCursorBufferPosition()).toEqual [8, 11] describe ".moveUp()", -> it "moves the cursor up", ->