From cb7a9e78fdbc7fef8fd68c9a082ad0665c064357 Mon Sep 17 00:00:00 2001 From: Colin Ihrig Date: Thu, 4 Aug 2022 18:32:48 -0400 Subject: [PATCH] doc: remove unused code in call tracker example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This function appears to be unused, so remove it. PR-URL: https://github.com/nodejs/node/pull/44127 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Tobias Nießen Reviewed-By: Luigi Pinca Reviewed-By: Evan Lucas Reviewed-By: Antoine du Hamel --- doc/api/assert.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc/api/assert.md b/doc/api/assert.md index 4847bbf86dda68..4958e6dd7df474 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -351,8 +351,6 @@ const tracker = new assert.CallTracker(); function func() {} -function foo() {} - // Returns a function that wraps func() that must be called exact times // before tracker.verify(). const callsfunc = tracker.calls(func, 2); @@ -379,8 +377,6 @@ const tracker = new assert.CallTracker(); function func() {} -function foo() {} - // Returns a function that wraps func() that must be called exact times // before tracker.verify(). const callsfunc = tracker.calls(func, 2);