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 d9c2c4d23e..2d94c338bb 100644 --- a/test/parallel/test-child-process-spawnsync-maxbuf.js +++ b/test/parallel/test-child-process-spawnsync-maxbuf.js @@ -5,7 +5,7 @@ const spawnSync = require('child_process').spawnSync; const msgOut = 'this is stdout'; // This is actually not os.EOL? -const msgOutBuf = Buffer.from(msgOut + '\n'); +const msgOutBuf = Buffer.from(`${msgOut}\n`); const args = [ '-e', |