From 433b64d581e727e22df90ddf3ec2e42ae8299406 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 5 Dec 2013 17:59:15 -0800 Subject: [PATCH] Update spec for new hard tab span text length --- spec/editor-view-spec.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/editor-view-spec.coffee b/spec/editor-view-spec.coffee index 6ae364cc5..bd4f71dcf 100644 --- a/spec/editor-view-spec.coffee +++ b/spec/editor-view-spec.coffee @@ -1158,7 +1158,8 @@ describe "EditorView", -> line0 = editorView.renderedLines.find('.line:first') span0_0 = line0.children('span:eq(0)').children('span:eq(0)') expect(span0_0).toMatchSelector '.hard-tab' - expect(span0_0.text()).toBe ' ' + expect(span0_0.text()).toBe ' ' + expect(span0_0.text().length).toBe editor.getTabLength() it "wraps leading whitespace in a span", -> line1 = editorView.renderedLines.find('.line:eq(1)')