mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
🎨 Fix description test
Actually it doesn’t test multiple selections moves.
This commit is contained in:
@@ -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 = [];"
|
||||
|
||||
Reference in New Issue
Block a user