From 969ca048e889da47bc936747f6463901c9b193bc Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 24 Sep 2014 15:54:02 -0700 Subject: [PATCH] Fix specs --- spec/tokenized-buffer-spec.coffee | 2 +- src/text-editor-view.coffee | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/tokenized-buffer-spec.coffee b/spec/tokenized-buffer-spec.coffee index ec1dc5009..51d48b5eb 100644 --- a/spec/tokenized-buffer-spec.coffee +++ b/spec/tokenized-buffer-spec.coffee @@ -586,7 +586,7 @@ describe "TokenizedBuffer", -> atom.config.set('editor.tabLength', 1) expect(tokenizedBuffer.tokenForPosition([0,0]).value).toBe ' ' atom.config.set('editor.tabLength', 0) - expect(tokenizedBuffer.tokenForPosition([0,0]).value).toBe ' ' + expect(tokenizedBuffer.tokenForPosition([0,0]).value).toBe ' ' describe "when the invisibles value changes", -> beforeEach -> diff --git a/src/text-editor-view.coffee b/src/text-editor-view.coffee index 7f71699d4..3746f43f2 100644 --- a/src/text-editor-view.coffee +++ b/src/text-editor-view.coffee @@ -73,9 +73,8 @@ class EditorView extends View default: 16 minimum: 1 lineHeight: - type: 'number' + type: 'string' default: 1.3 - minimum: 1.0 showInvisibles: type: 'boolean' default: false