diff --git a/spec/text-editor-component-spec.coffee b/spec/text-editor-component-spec.coffee index 1e7bf8841..c1ee9b0f7 100644 --- a/spec/text-editor-component-spec.coffee +++ b/spec/text-editor-component-spec.coffee @@ -302,7 +302,7 @@ describe "TextEditorComponent", -> it "interleaves invisible line-ending characters with indent guides on empty lines", -> component.setShowIndentGuide(true) - editor.setTextInBufferRange([[10, 0], [11, 0]], "\r\n", false) + editor.setTextInBufferRange([[10, 0], [11, 0]], "\r\n", normalizeLineEndings: false) nextAnimationFrame() expect(component.lineNodeForScreenRow(10).innerHTML).toBe 'CE' diff --git a/spec/text-editor-spec.coffee b/spec/text-editor-spec.coffee index 5b81b408d..18d829f05 100644 --- a/spec/text-editor-spec.coffee +++ b/spec/text-editor-spec.coffee @@ -616,7 +616,7 @@ describe "TextEditor", -> describe "when invisible characters are enabled with hard tabs", -> it "moves to the first character of the current line without being confused by the invisible characters", -> atom.config.set('editor.showInvisibles', true) - buffer.setTextInRange([[1, 0], [1, Infinity]], '\t\t\ta', false) + buffer.setTextInRange([[1, 0], [1, Infinity]], '\t\t\ta', normalizeLineEndings: false) editor.setCursorScreenPosition [1,7] editor.moveToFirstCharacterOfLine()