This commit is contained in:
Nathan Sobo
2012-06-11 17:40:37 -06:00
parent 09e0fb2a58
commit 5f29f7e67d

View File

@@ -1917,7 +1917,7 @@ describe "Editor", ->
expect(editor.screenLineForRow(0).fold).toBeDefined()
expect(editor.screenLineForRow(1)).toBeUndefined()
it "maintains cursor buffer position when buffer is created/destroyed", ->
it "maintains cursor buffer position when a fold is created/destroyed", ->
editor.setCursorBufferPosition([5,5])
editor.trigger "fold-all"
expect(editor.getCursorBufferPosition()).toEqual([5,5])