Skip to content

Commit e026132

Browse files
jimmyoloMylesBorins
authored andcommitted
test: refactor concat string to template string
PR-URL: #17252 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
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)