From 715e3c6226aa2bd5ec6ed00db1185674e4989e07 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 6b069ddc51b722..57bdc43bee0d2d 100644 --- a/test/parallel/test-fs-filehandle.js +++ b/test/parallel/test-fs-filehandle.js @@ -31,6 +31,6 @@ common.expectWarning({ ] }); -gc(); // eslint-disable-line no-undef +global.gc(); setTimeout(() => {}, 10);