Skip to content

Commit 8658f26

Browse files
chrbergertevanlucas
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 <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>
1 parent 614eac3 commit 8658f26

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)