Skip to content

Commit e026132

Browse files
jimmyoloMylesBorins
authored andcommitted
test: refactor concat string to template string
PR-URL: #17252 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent 0e5ff6f commit e026132

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)