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:
parent
c9b94ff79e
commit
babcac386c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user