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: 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>
  • Loading branch information
cjihrig authored and refack committed Jan 10, 2019
1 parent 91475fd commit f843f9c
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
@@ -31,6 +31,6 @@ common.expectWarning({
]
});

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

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

0 comments on commit f843f9c

Please sign in to comment.