From d68a0db6d2e9d6847d983e728bfd9a874c8e5ec8 Mon Sep 17 00:00:00 2001 From: abe33 Date: Mon, 12 Oct 2015 21:16:07 +0200 Subject: [PATCH] :art: Fix description test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Actually it doesn’t test multiple selections moves. --- spec/text-editor-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/text-editor-spec.coffee b/spec/text-editor-spec.coffee index 2b6514e12..307d72656 100644 --- a/spec/text-editor-spec.coffee +++ b/spec/text-editor-spec.coffee @@ -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 = [];"