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