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 <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
chrbergert authored and MylesBorins committed Nov 28, 2017
1 parent 1bc5c38 commit 4752fc4
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,12 +1,14 @@
'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 4752fc4

Please sign in to comment.