Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add missing spaces in concatenations #16244

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-default-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ child.stdout.on('data', function(chunk) {

process.on('exit', function() {
assert.ok(response.includes('HELLO=WORLD'),
'spawn did not use process.env as default' +
'spawn did not use process.env as default ' +
`(process.env.HELLO = ${process.env.HELLO})`);
});
2 changes: 1 addition & 1 deletion test/parallel/test-cluster-basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,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 @@ -378,7 +378,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 @@ -662,7 +662,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