Skip to content

Commit

Permalink
test: replace concatenation with template literals.
Browse files Browse the repository at this point in the history
  • Loading branch information
xeodou committed Jul 16, 2017
1 parent 5d3609d commit 4c61fdb
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 4c61fdb

Please sign in to comment.