Skip to content

Commit

Permalink
Change keeping the one concatenation and indenting for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-haojin authored and Haojin committed Jul 17, 2017
1 parent 7751588 commit ada1399
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/parallel/test-child-process-constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ function typeName(value) {
}, common.expectsError({
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
message: `The "options" argument must be of type object.\
Received type ${typeName(options)}`
message: 'The "options" argument must be of type object. ' +
`Received type ${typeName(options)}`
}));
});
}
Expand All @@ -35,8 +35,8 @@ function typeName(value) {
}, common.expectsError({
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
message: `The "options.file" property must be of type string.\
Received type ${typeName(file)}`
message: 'The "options.file" property must be of type string. ' +
`Received type ${typeName(file)}`
}));
});
}
Expand All @@ -51,8 +51,8 @@ function typeName(value) {
}, common.expectsError({
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
message: `The "options.envPairs" property must be of type array.\
Received type ${typeName(envPairs)}`
message: 'The "options.envPairs" property must be of type array. ' +
`Received type ${typeName(envPairs)}`
}));
});
}
Expand All @@ -67,8 +67,8 @@ function typeName(value) {
}, common.expectsError({
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
message: `The "options.args" property must be of type array.\
Received type ${typeName(args)}`
message: 'The "options.args" property must be of type array. ' +
`Received type ${typeName(args)}`
}));
});
}
Expand Down

0 comments on commit ada1399

Please sign in to comment.