Skip to content

Commit c26abc8

Browse files
vsemozhetbytMylesBorins
authored andcommitted
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 a94a75f commit c26abc8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/parallel/test-cluster-basic.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const assert = require('assert');
55
const cluster = require('cluster');
66

77
assert.strictEqual('NODE_UNIQUE_ID' in process.env, false,
8-
`NODE_UNIQUE_ID (${process.env.NODE_UNIQUE_ID})` +
8+
`NODE_UNIQUE_ID (${process.env.NODE_UNIQUE_ID}) ` +
99
'should be removed on startup');
1010

1111
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();
@@ -381,7 +381,7 @@ asyncTest(
381381
);
382382

383383
// Combinations with Promise.all
384-
asyncTest('Catching the Promise.all() of a collection that includes a' +
384+
asyncTest('Catching the Promise.all() of a collection that includes a ' +
385385
'rejected promise prevents unhandledRejection', function(done) {
386386
const e = new Error();
387387
onUnhandledFail(done);
@@ -666,7 +666,7 @@ asyncTest('nextTick is immediately scheduled when called inside an event' +
666666
});
667667

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

0 commit comments

Comments
 (0)