Skip to content

Commit

Permalink
test: use global.gc() instead of gc()
Browse files Browse the repository at this point in the history
This change is made for consistency, and to remove an
eslint-disable comment.

PR-URL: #25012
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
cjihrig authored and BethGriggs committed Dec 18, 2018
1 parent ddff644 commit ab1801b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-filehandle.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ common.expectWarning(
common.noWarnCode
);

gc(); // eslint-disable-line no-undef
global.gc();

setTimeout(() => {}, 10);

0 comments on commit ab1801b

Please sign in to comment.