0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

test: refactor concat string to template string

PR-URL: https://github.com/nodejs/node/pull/17252
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
This commit is contained in:
jimmy 2017-11-23 00:08:57 +08:00 committed by Joyee Cheung
parent c9b94ff79e
commit babcac386c
No known key found for this signature in database
GPG Key ID: F586868AAD831D0C

View File

@ -690,7 +690,7 @@ try {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
message: 'The "block" argument must be of type Function. Received ' +
'type ' + typeName(block)
`type ${typeName(block)}`
})(e);
}