diff options
author | xeodou <xeodou@gmail.com> | 2017-07-16 15:53:50 +0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-07-23 22:09:00 -0700 |
commit | 3566195196b81390d8dc1a7ccbca9a2c118df624 (patch) | |
tree | 0d35d1cb1c889e01b5b46208875815562b4033c7 /test/parallel/test-path-parse-format.js | |
parent | b1355ba6faa112c587571bf426bea35e2d37c68f (diff) | |
download | android-node-v8-3566195196b81390d8dc1a7ccbca9a2c118df624.tar.gz android-node-v8-3566195196b81390d8dc1a7ccbca9a2c118df624.tar.bz2 android-node-v8-3566195196b81390d8dc1a7ccbca9a2c118df624.zip |
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>
Diffstat (limited to 'test/parallel/test-path-parse-format.js')
-rw-r--r-- | test/parallel/test-path-parse-format.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-path-parse-format.js b/test/parallel/test-path-parse-format.js index 5d78a6f526..28d14b005a 100644 --- a/test/parallel/test-path-parse-format.js +++ b/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)}` })); }); } |