Skip to content

Commit c9da05d

Browse files
committed
test: add missing spaces in concatenations
PR-URL: #16244 Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent c3eeb28 commit c9da05d

3 files changed

+6
-6
lines changed

test/parallel/test-child-process-default-options.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ child.stdout.on('data', function(chunk) {
4545

4646
process.on('exit', function() {
4747
assert.ok(response.includes('HELLO=WORLD'),
48-
'spawn did not use process.env as default' +
48+
'spawn did not use process.env as default ' +
4949
`(process.env.HELLO = ${process.env.HELLO})`);
5050
});

test/parallel/test-cluster-basic.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const assert = require('assert');
2626
const cluster = require('cluster');
2727

2828
assert.strictEqual('NODE_UNIQUE_ID' in process.env, false,
29-
`NODE_UNIQUE_ID (${process.env.NODE_UNIQUE_ID})` +
29+
`NODE_UNIQUE_ID (${process.env.NODE_UNIQUE_ID}) ` +
3030
'should be removed on startup');
3131

3232
function forEach(obj, fn) {

test/parallel/test-promises-unhandled-rejections.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ asyncTest('When re-throwing new errors in a promise catch, only the' +
182182
});
183183
});
184184

185-
asyncTest('Test params of unhandledRejection for a synchronously-rejected' +
185+
asyncTest('Test params of unhandledRejection for a synchronously-rejected ' +
186186
'promise', function(done) {
187187
const e = new Error();
188188
onUnhandledSucceed(done, function(reason, promise) {
@@ -294,7 +294,7 @@ asyncTest('While inside setImmediate, catching a rejected promise derived ' +
294294
});
295295

296296
// State adapation tests
297-
asyncTest('catching a promise which is asynchronously rejected (via' +
297+
asyncTest('catching a promise which is asynchronously rejected (via ' +
298298
'resolution to an asynchronously-rejected promise) prevents' +
299299
' unhandledRejection', function(done) {
300300
const e = new Error();
@@ -378,7 +378,7 @@ asyncTest(
378378
);
379379

380380
// Combinations with Promise.all
381-
asyncTest('Catching the Promise.all() of a collection that includes a' +
381+
asyncTest('Catching the Promise.all() of a collection that includes a ' +
382382
'rejected promise prevents unhandledRejection', function(done) {
383383
const e = new Error();
384384
onUnhandledFail(done);
@@ -662,7 +662,7 @@ asyncTest('nextTick is immediately scheduled when called inside an event' +
662662
});
663663

664664
asyncTest('Throwing an error inside a rejectionHandled handler goes to' +
665-
' unhandledException, and does not cause .catch() to throw an' +
665+
' unhandledException, and does not cause .catch() to throw an ' +
666666
'exception', function(done) {
667667
clean();
668668
const e = new Error();

0 commit comments

Comments
 (0)