Skip to content

Commit 6ab706d

Browse files
chrbergertMylesBorins
authored andcommitted
test: refactor comments in test-child-process-spawnsync-maxbuf
* 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]>
1 parent 2b903bf commit 6ab706d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/parallel/test-child-process-spawnsync-maxbuf.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
'use strict';
22
require('../common');
3+
4+
// This test checks that the maxBuffer option for child_process.spawnSync()
5+
// works as expected.
6+
37
const assert = require('assert');
48
const spawnSync = require('child_process').spawnSync;
59
const msgOut = 'this is stdout';
6-
7-
// This is actually not os.EOL?
810
const msgOutBuf = Buffer.from(`${msgOut}\n`);
911

1012
const args = [

0 commit comments

Comments
 (0)