Skip to content

Commit b42013c

Browse files
Sabari Lakshmi Krishnamoorthyevanlucas
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 fbc7451 commit b42013c

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
@@ -690,7 +690,7 @@ try {
690690
code: 'ERR_INVALID_ARG_TYPE',
691691
type: TypeError,
692692
message: 'The "block" argument must be of type function. Received ' +
693-
'type ' + typeName(block)
693+
`type ${typeName(block)}`
694694
})(e);
695695
}
696696

0 commit comments

Comments
 (0)