🎨 Fix description test

Actually it doesn’t test multiple selections moves.
This commit is contained in:
abe33
2015-10-12 21:16:07 +02:00
parent 4d44016eb1
commit d68a0db6d2

View File

@@ -2004,7 +2004,7 @@ describe "TextEditor", ->
expect(editor.lineTextForBufferRow(3)).toBe " if (items.length <= 1) return items;"
expect(editor.lineTextForBufferRow(4)).toBe " while(items.length > 0) {"
describe "when there are multiple selections and the following row is a folded row", ->
describe "when the following row is a folded row", ->
it "moves the lines spanned by the selection to the following row, but preserves the folded code", ->
expect(editor.lineTextForBufferRow(2)).toBe " if (items.length <= 1) return items;"
expect(editor.lineTextForBufferRow(3)).toBe " var pivot = items.shift(), current, left = [], right = [];"