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: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
cjihrig authored and rvagg committed Feb 28, 2019
1 parent cc7727e commit 5ff8aeb
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 5ff8aeb

Please sign in to comment.