diff options
Diffstat (limited to 'test/parallel/test-child-process-spawnsync-maxbuf.js')
-rw-r--r-- | test/parallel/test-child-process-spawnsync-maxbuf.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-spawnsync-maxbuf.js b/test/parallel/test-child-process-spawnsync-maxbuf.js index d8f286d7e0..317c0fe0ba 100644 --- a/test/parallel/test-child-process-spawnsync-maxbuf.js +++ b/test/parallel/test-child-process-spawnsync-maxbuf.js @@ -7,7 +7,7 @@ const spawnSync = require('child_process').spawnSync; const msgOut = 'this is stdout'; // This is actually not os.EOL? -const msgOutBuf = new Buffer(msgOut + '\n'); +const msgOutBuf = Buffer.from(msgOut + '\n'); const args = [ '-e', |