mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: fix pummel/test-exec
Fix test/pummel/test-exec.js which broke as a result of
e47f972d68
(https://github.com/nodejs/node/pull/24951).
(Until very recently, pummel tests were not run at all in CI and
currently only run nightly on master.)
PR-URL: https://github.com/nodejs/node/pull/25677
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
1 parent
08ade9b0d3
commit
a9ffce908d
1 file changed
+1
-1
@@ -122,7 +122,7 @@ exec('python -c "print 200000*\'C\'"', { maxBuffer: 1000 },
|
||||
function(err, stdout, stderr) {
|
||||
assert.ok(err);
|
||||
assert.ok(/maxBuffer/.test(err.message));
|
||||
assert.strictEqual(stdout, '');
|
||||
assert.strictEqual(stdout, 'C'.repeat(1000));
|
||||
assert.strictEqual(stderr, '');
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user