summaryrefslogtreecommitdiff
path: root/test/parallel/test-vm-cached-data.js
diff options
context:
space:
mode:
authorXadillaX <admin@xcoder.in>2017-06-22 00:38:31 +0800
committerAlexey Orlenko <eaglexrlnk@gmail.com>2017-06-24 05:01:20 +0300
commitbefede64f14858ffea4e8d6f93700be07e0f85fc (patch)
tree76a20766f842755be3ee58a73aaf3f57b472e7e9 /test/parallel/test-vm-cached-data.js
parent5e68e168b8e44356f9d97a672836bef718130565 (diff)
downloadnode-new-befede64f14858ffea4e8d6f93700be07e0f85fc.tar.gz
test: remove `require('buffer')` from 4 test files
We don't use the global Buffer throughout the lib/ to avoid circular dependency issues in core, but we actually don't need to require it on test files. So remove them on: + test/parallel/test-stream-uint8array.js + test/parallel/test-stream2-finish-pipe.js + test/parallel/test-tls-session-cache.js + test/parallel/test-vm-cached-data.js Refs: https://github.com/nodejs/node/issues/13836 PR-URL: https://github.com/nodejs/node/pull/13844 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'test/parallel/test-vm-cached-data.js')
-rw-r--r--test/parallel/test-vm-cached-data.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/parallel/test-vm-cached-data.js b/test/parallel/test-vm-cached-data.js
index 59cdca9c99..5302d73c2d 100644
--- a/test/parallel/test-vm-cached-data.js
+++ b/test/parallel/test-vm-cached-data.js
@@ -3,7 +3,6 @@ require('../common');
const assert = require('assert');
const vm = require('vm');
const spawnSync = require('child_process').spawnSync;
-const Buffer = require('buffer').Buffer;
function getSource(tag) {
return `(function ${tag}() { return '${tag}'; })`;