Skip to content

Commit

Permalink
test: replace concatenation with template literals
Browse files Browse the repository at this point in the history
PR-URL: nodejs#14281
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
xeodou authored and Trott committed Jul 24, 2017
1 parent b1355ba commit 3566195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-path-parse-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ function checkFormat(path, testCases) {
}, common.expectsError({
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
message: 'The "pathObject" argument must be of type Object. Received ' +
'type ' + typeName(pathObject)
message: 'The "pathObject" argument must be of type Object. ' +
`Received type ${typeName(pathObject)}`
}));
});
}

0 comments on commit 3566195

Please sign in to comment.