Skip to content

Commit

Permalink
test: add missing spaces in concatenations
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
vsemozhetbyt authored and MylesBorins committed Nov 28, 2017
1 parent a94a75f commit c26abc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-cluster-basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const assert = require('assert');
const cluster = require('cluster');

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

function forEach(obj, fn) {
Expand Down
8 changes: 4 additions & 4 deletions test/parallel/test-promises-unhandled-rejections.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ asyncTest('When re-throwing new errors in a promise catch, only the' +
});
});

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

// State adapation tests
asyncTest('catching a promise which is asynchronously rejected (via' +
asyncTest('catching a promise which is asynchronously rejected (via ' +
'resolution to an asynchronously-rejected promise) prevents' +
' unhandledRejection', function(done) {
const e = new Error();
Expand Down Expand Up @@ -381,7 +381,7 @@ asyncTest(
);

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

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

0 comments on commit c26abc8

Please sign in to comment.