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 <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
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

+1-1
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)