Skip to content

Commit f843f9c

Browse files
cjihrigrefack
authored andcommitted
test: use global.gc() instead of gc()
This change is made for consistency, and to remove an eslint-disable comment. PR-URL: nodejs#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>
1 parent 91475fd commit f843f9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-fs-filehandle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ common.expectWarning({
3131
]
3232
});
3333

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

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

0 commit comments

Comments
 (0)