Skip to content

Commit cef125b

Browse files
vsemozhetbyttargos
authored andcommitted
test: add missing spaces in concatenations
PR-URL: #16244 Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent c9ec12d commit cef125b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 4 deletions
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);
@@ -663,7 +663,7 @@ asyncTest('nextTick is immediately scheduled when called inside an event' +
663663
});
664664

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

0 commit comments

Comments
 (0)