summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSabari Lakshmi Krishnamoorthy <sabkrish@in.ibm.com>2017-11-10 11:43:51 +0530
committerFranziska Hinkelmann <franziska.hinkelmann@gmail.com>2017-11-11 10:39:14 +0100
commit2f823340766b1df3fb1a7895b317c0545f02aeeb (patch)
tree6e101d9a17cc6b737717b70ef3f06ad30ccdadcd /test
parent0e003a3508af944587e7e1a7d36a2ce3519c3dbf (diff)
downloadandroid-node-v8-2f823340766b1df3fb1a7895b317c0545f02aeeb.tar.gz
android-node-v8-2f823340766b1df3fb1a7895b317c0545f02aeeb.tar.bz2
android-node-v8-2f823340766b1df3fb1a7895b317c0545f02aeeb.zip
test: replace string concatenation with template
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-assert.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-assert.js b/test/parallel/test-assert.js
index 743cf05ebd..43473e3057 100644
--- a/test/parallel/test-assert.js
+++ b/test/parallel/test-assert.js
@@ -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);
}