From 39a5705e39384b158eac8aab213011329e7fb0d5 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Thu, 11 May 2017 11:05:58 +0200 Subject: [PATCH] Re-enable a test that was previously failing --- spec/text-editor-spec.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spec/text-editor-spec.coffee b/spec/text-editor-spec.coffee index cf6a7e303..355105ad3 100644 --- a/spec/text-editor-spec.coffee +++ b/spec/text-editor-spec.coffee @@ -4805,10 +4805,7 @@ describe "TextEditor", -> expect(buffer.getLineCount()).toBe(count - 1) describe "when the line being deleted preceeds a fold, and the command is undone", -> - # TODO: This seemed to have only been passing due to an accident in the text - # buffer implementation. Once we moved selections to a different layer it - # broke. We need to revisit our representation of folds and then reenable it. - xit "restores the line and preserves the fold", -> + it "restores the line and preserves the fold", -> editor.setCursorBufferPosition([4]) editor.foldCurrentRow() expect(editor.isFoldedAtScreenRow(4)).toBeTruthy()