diff --git a/spec/editor-component-spec.coffee b/spec/editor-component-spec.coffee index dba6d3a17..d80396d23 100644 --- a/spec/editor-component-spec.coffee +++ b/spec/editor-component-spec.coffee @@ -1953,6 +1953,7 @@ describe "EditorComponent", -> wrapperView.hide() component.setFontSize(22) + editor.getBuffer().insert([0, 0], 'a') # regression test against atom/atom#3318 wrapperView.show() editor.setCursorBufferPosition([0, Infinity])