From d78f29db390c8d6b44167819d4ddd817cea4b153 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 23 Jan 2019 21:43:28 -0800 Subject: [PATCH] test: fix pummel/test-exec Fix test/pummel/test-exec.js which broke as a result of e47f972d6851b3196b3b2ba611929f25a5fcadb6 (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.) --- test/pummel/test-exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pummel/test-exec.js b/test/pummel/test-exec.js index 64c94aae5a8666..fb042bc9d2c743 100644 --- a/test/pummel/test-exec.js +++ b/test/pummel/test-exec.js @@ -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, ''); });