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);