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 committed Dec 15, 2018
1 parent 1395256 commit 715e3c6
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 @@ -31,6 +31,6 @@ common.expectWarning({
]
});

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

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

0 comments on commit 715e3c6

Please sign in to comment.