Skip to content

Commit 41f905b

Browse files
Sabari Lakshmi KrishnamoorthyMylesBorins
Sabari Lakshmi Krishnamoorthy
authored andcommitted
test: replace string concatenation with template
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]>
1 parent be920aa commit 41f905b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-assert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ try {
634634
code: 'ERR_INVALID_ARG_TYPE',
635635
type: TypeError,
636636
message: 'The "block" argument must be of type function. Received ' +
637-
'type ' + typeName(block)
637+
`type ${typeName(block)}`
638638
})(e);
639639
}
640640

0 commit comments

Comments
 (0)