summaryrefslogtreecommitdiff
path: root/test/pummel/test-regress-GH-814.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-04-20 23:05:44 -0700
committerRich Trott <rtrott@gmail.com>2016-04-28 19:22:16 -0700
commit6c49714df0611c08f0fd27162193893bc1792a92 (patch)
tree3306a24ce5b07de41ef0a865574d92325606c036 /test/pummel/test-regress-GH-814.js
parent2e845f85016f4d4b971e534f1f50f0c3416952e3 (diff)
downloadnode-new-6c49714df0611c08f0fd27162193893bc1792a92.tar.gz
test,tools: limit lint tolerance of gc global
Lint rules permitted the `gc` global in any test file. This change limits it to just the files that need it. PR-URL: https://github.com/nodejs/node/pull/6324 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/pummel/test-regress-GH-814.js')
-rw-r--r--test/pummel/test-regress-GH-814.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-regress-GH-814.js b/test/pummel/test-regress-GH-814.js
index 031276efa6..d2f85bdf3e 100644
--- a/test/pummel/test-regress-GH-814.js
+++ b/test/pummel/test-regress-GH-814.js
@@ -38,7 +38,7 @@ var timeToQuit = Date.now() + 8e3; //Test during no more than this seconds.
if (PASS) {
fs.write(testFileFD, newBuffer(kBufSize, 0x61), 0, kBufSize, -1, cb);
- gc();
+ global.gc();
var nuBuf = Buffer.allocUnsafe(kBufSize);
neverWrittenBuffer.copy(nuBuf);
if (bufPool.push(nuBuf) > 100) {