diff --git a/spec/text-editor-component-spec.coffee b/spec/text-editor-component-spec.coffee index 27e9864aa..8e003d942 100644 --- a/spec/text-editor-component-spec.coffee +++ b/spec/text-editor-component-spec.coffee @@ -473,8 +473,7 @@ describe "TextEditorComponent", -> editor.setText "a line that wraps \n" editor.setSoftWrapped(true) nextAnimationFrame() - componentNode.style.width = 16 * charWidth + wrapperNode.getVerticalScrollbarWidth() + 'px' - component.measureDimensions() + wrapperNode.setWidth(16 * charWidth) nextAnimationFrame() it "doesn't show end of line invisibles at the end of wrapped lines", ->