From 2adcc9709c8c1122d166322ae37b7a145d6e9469 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 6 Nov 2013 14:37:36 -0800 Subject: [PATCH] 10 -> back to 2 --- spec/editor-spec.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/editor-spec.coffee b/spec/editor-spec.coffee index c0d8cb8ba..0eb35125e 100644 --- a/spec/editor-spec.coffee +++ b/spec/editor-spec.coffee @@ -1330,12 +1330,12 @@ describe "Editor", -> expect(editor.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(0) expect(editor.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(6) - it "increases the width of the rendered lines element to be either the width of the longest line or the width of the scrollView (whichever is longer)", -> + ffit "increases the width of the rendered lines element to be either the width of the longest line or the width of the scrollView (whichever is longer)", -> maxLineLength = editor.getMaxScreenLineLength() setEditorWidthInChars(editor, maxLineLength) widthBefore = editor.renderedLines.width() expect(widthBefore).toBe editor.scrollView.width() + 20 - buffer.change([[12,0], [12,0]], [1..maxLineLength*10].join('')) + buffer.change([[12,0], [12,0]], [1..maxLineLength*2].join('')) expect(editor.renderedLines.width()).toBeGreaterThan widthBefore describe "when lines are removed", ->