GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: remove unused code in call tracker example · nodejs/node@f461d79

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • assert.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/assert.md‎

Copy file name to clipboardExpand all lines: doc/api/assert.md
-4Lines changed: 0 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,6 @@ const tracker = new assert.CallTracker();
351351

352352
function func() {}
353353

354-
function foo() {}
355-
356354
// Returns a function that wraps func() that must be called exact times
357355
// before tracker.verify().
358356
const callsfunc = tracker.calls(func, 2);
@@ -379,8 +377,6 @@ const tracker = new assert.CallTracker();
379377

380378
function func() {}
381379

382-
function foo() {}
383-
384380
// Returns a function that wraps func() that must be called exact times
385381
// before tracker.verify().
386382
const callsfunc = tracker.calls(func, 2);

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.