From 062ba8ab764eb3d142d24ebd49a0dbb8aa66b2c0 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 a01b82a930bf4e..245ec0d138191f 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);