Skip to content

Commit

Permalink
test: refactor comments in test-child-process-spawnsync-maxbuf
Browse files Browse the repository at this point in the history
* remove comment that isn't relevant/important
* add comment that explains what the test does

PR-URL: #16829
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
chrbergert authored and MylesBorins committed Nov 17, 2017
1 parent 2b903bf commit 6ab706d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/parallel/test-child-process-spawnsync-maxbuf.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
'use strict';
require('../common');

// This test checks that the maxBuffer option for child_process.spawnSync()
// works as expected.

const assert = require('assert');
const spawnSync = require('child_process').spawnSync;
const msgOut = 'this is stdout';

// This is actually not os.EOL?
const msgOutBuf = Buffer.from(`${msgOut}\n`);

const args = [
Expand Down

0 comments on commit 6ab706d

Please sign in to comment.