mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: use global.gc() instead of gc()
This change is made for consistency, and to remove an eslint-disable comment. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
1395256187
commit
715e3c6226
@ -31,6 +31,6 @@ common.expectWarning({
|
||||
]
|
||||
});
|
||||
|
||||
gc(); // eslint-disable-line no-undef
|
||||
global.gc();
|
||||
|
||||
setTimeout(() => {}, 10);
|
||||
|
Loading…
Reference in New Issue
Block a user