From a722d1aa368c066c02e08557ff1649e07b52de03 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Tue, 20 May 2014 14:07:36 -0700 Subject: [PATCH] Make editor component spec pass --- spec/editor-component-spec.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/editor-component-spec.coffee b/spec/editor-component-spec.coffee index 32673e869..bb3e3a7d9 100644 --- a/spec/editor-component-spec.coffee +++ b/spec/editor-component-spec.coffee @@ -111,6 +111,7 @@ describe "EditorComponent", -> expect(component.lineNodeForScreenRow(0).textContent).toBe "#{invisibles.space}a line with tabs#{invisibles.tab} and spaces#{invisibles.space}#{invisibles.eol}" it "displays spaces, tabs, and newlines as visible characters", -> + editor.setText " a line with tabs\tand spaces " expect(component.lineNodeForScreenRow(0).textContent).toBe "#{invisibles.space}a line with tabs#{invisibles.tab} and spaces#{invisibles.space}#{invisibles.eol}" it "displays newlines as their own token outside of the other tokens scope", ->