From 5ff8aeb9766005e33346e12c235d40adfd9dc57d Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 13 Dec 2018 08:36:42 -0500 Subject: [PATCH] test: use global.gc() instead of gc() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change is made for consistency, and to remove an eslint-disable comment. PR-URL: https://github.com/nodejs/node/pull/25012 Reviewed-By: Сковорода Никита Андреевич Reviewed-By: Ruben Bridgewater Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: Jeremiah Senkpiel Reviewed-By: Rich Trott --- test/parallel/test-fs-filehandle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-fs-filehandle.js b/test/parallel/test-fs-filehandle.js index 84b462aa90914d..0d1dffa2b5ff78 100644 --- a/test/parallel/test-fs-filehandle.js +++ b/test/parallel/test-fs-filehandle.js @@ -24,6 +24,6 @@ common.expectWarning( common.noWarnCode ); -gc(); // eslint-disable-line no-undef +global.gc(); setTimeout(() => {}, 10);