From 2af010e729a11ca3841818ce97d234af2d8aacaa Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 26 Oct 2015 10:29:58 -0600 Subject: [PATCH] Remove dead test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It tests functionality that no longer matters since we don’t subscribe to decorations being destroyed in DisplayBuffer --- spec/display-buffer-spec.coffee | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/display-buffer-spec.coffee b/spec/display-buffer-spec.coffee index 68dd9c754..ded3ed455 100644 --- a/spec/display-buffer-spec.coffee +++ b/spec/display-buffer-spec.coffee @@ -1237,11 +1237,6 @@ describe "DisplayBuffer", -> decoration.destroy() expect(displayBuffer.decorationForId(decoration.id)).not.toBeDefined() - it "does not leak disposables", -> - disposablesSize = displayBuffer.disposables.disposables.size - decoration.destroy() - expect(displayBuffer.disposables.disposables.size).toBe(disposablesSize - 1) - describe "when a decoration is updated via Decoration::update()", -> it "emits an 'updated' event containing the new and old params", -> decoration.onDidChangeProperties updatedSpy = jasmine.createSpy()