Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cb7a9e7

Browse filesBrowse files
cjihrigruyadorno
authored andcommitted
doc: remove unused code in call tracker example
This function appears to be unused, so remove it. PR-URL: #44127 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 5e9c197 commit cb7a9e7
Copy full SHA for cb7a9e7

File tree

Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.