diff options
author | OriLev <sviatos@gmail.com> | 2017-06-21 21:40:25 +0300 |
---|---|---|
committer | Alexey Orlenko <eaglexrlnk@gmail.com> | 2017-06-24 04:32:30 +0300 |
commit | 22ccbe6f9698c481c00013dfb879f257477ea692 (patch) | |
tree | 8e6f5b6338a9ec209b50e47153619cef5dbf4b35 /test/parallel/test-buffer-arraybuffer.js | |
parent | d31fe536c0a576ead9655acb140970690c4fbc78 (diff) | |
download | node-new-22ccbe6f9698c481c00013dfb879f257477ea692.tar.gz |
test: remove require('buffer') from 4 buffer tests
Remove superfluous import from:
* test/parallel/test-buffer-alloc.js
* test/parallel/test-buffer-arraybuffer.js
* test/parallel/test-buffer-badhex.js
* test/parallel/test-buffer-bytelength.js
Refs: https://github.com/nodejs/node/issues/13836
PR-URL: https://github.com/nodejs/node/pull/13855
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-buffer-arraybuffer.js')
-rw-r--r-- | test/parallel/test-buffer-arraybuffer.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/parallel/test-buffer-arraybuffer.js b/test/parallel/test-buffer-arraybuffer.js index 7ef25fec00..8f89c4976c 100644 --- a/test/parallel/test-buffer-arraybuffer.js +++ b/test/parallel/test-buffer-arraybuffer.js @@ -3,7 +3,6 @@ require('../common'); const assert = require('assert'); -const Buffer = require('buffer').Buffer; const LENGTH = 16; const ab = new ArrayBuffer(LENGTH); |