Browse Source

test: replace concatenation with template literals

PR-URL: https://github.com/nodejs/node/pull/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>
v6
xeodou 8 years ago
committed by Rich Trott
parent
commit
3566195196
  1. 4
      test/parallel/test-path-parse-format.js

4
test/parallel/test-path-parse-format.js

@ -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)}`
}));
});
}

Loading…
Cancel
Save