Skip to content

Commit

Permalink
test: refactor concat string to template string
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jimmyolo authored and MylesBorins committed Dec 12, 2017
1 parent 0e5ff6f commit e026132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ try {
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
message: 'The "block" argument must be of type Function. Received ' +
'type ' + typeName(block)
`type ${typeName(block)}`
})(e);
}

Expand Down

0 comments on commit e026132

Please sign in to comment.