Skip to content

Commit

Permalink
test: replace string concatenation with template
Browse files Browse the repository at this point in the history
PR-URL: #16914
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
  • Loading branch information
Sabari Lakshmi Krishnamoorthy authored and MylesBorins committed Nov 17, 2017
1 parent be920aa commit 41f905b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,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);
}

Expand Down

0 comments on commit 41f905b

Please sign in to comment.