Skip to content

Commit 4752fc4

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 <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 1bc5c38 commit 4752fc4

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,12 +1,14 @@
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

59
const spawnSync = require('child_process').spawnSync;
610

711
const msgOut = 'this is stdout';
8-
9-
// This is actually not os.EOL?
1012
const msgOutBuf = Buffer.from(`${msgOut}\n`);
1113

1214
const args = [

0 commit comments

Comments
 (0)