diff options
Diffstat (limited to 'test/parallel/test-zlib-dictionary.js')
-rw-r--r-- | test/parallel/test-zlib-dictionary.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-zlib-dictionary.js b/test/parallel/test-zlib-dictionary.js index 1a491c2ca1..2f3fc23a92 100644 --- a/test/parallel/test-zlib-dictionary.js +++ b/test/parallel/test-zlib-dictionary.js @@ -5,7 +5,7 @@ require('../common'); const assert = require('assert'); const zlib = require('zlib'); -const spdyDict = new Buffer([ +const spdyDict = Buffer.from([ 'optionsgetheadpostputdeletetraceacceptaccept-charsetaccept-encodingaccept-', 'languageauthorizationexpectfromhostif-modified-sinceif-matchif-none-matchi', 'f-rangeif-unmodifiedsincemax-forwardsproxy-authorizationrangerefererteuser', |