summaryrefslogtreecommitdiff
path: root/test/abort
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2017-11-26 17:51:21 +0900
committerJames M Snell <jasnell@gmail.com>2017-11-26 09:20:20 -0800
commit2124d0e971c1c2ef3f661ee001348eeabf8f2231 (patch)
treeab2d11d760e714e27c48f2a838970517157d45fd /test/abort
parentc9da77405133a2934fdb19c349cc3ed2a6bc1a33 (diff)
downloadandroid-node-v8-2124d0e971c1c2ef3f661ee001348eeabf8f2231.tar.gz
android-node-v8-2124d0e971c1c2ef3f661ee001348eeabf8f2231.tar.bz2
android-node-v8-2124d0e971c1c2ef3f661ee001348eeabf8f2231.zip
test: refactor using template string
Use template string where it's appropriate. PR-URL: https://github.com/nodejs/node/pull/17314 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/abort')
-rw-r--r--test/abort/test-zlib-invalid-internals-usage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/abort/test-zlib-invalid-internals-usage.js b/test/abort/test-zlib-invalid-internals-usage.js
index c076c7df5e..c218a5ee95 100644
--- a/test/abort/test-zlib-invalid-internals-usage.js
+++ b/test/abort/test-zlib-invalid-internals-usage.js
@@ -13,8 +13,8 @@ if (process.argv[2] === 'child') {
assert.strictEqual(child.stdout.toString(), '');
assert.ok(child.stderr.includes(
'WARNING: You are likely using a version of node-tar or npm that ' +
- 'is incompatible with this version of Node.js.' + os.EOL +
+ `is incompatible with this version of Node.js.${os.EOL}` +
'Please use either the version of npm that is bundled with Node.js, or ' +
'a version of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) that is ' +
- 'compatible with Node.js 9 and above.' + os.EOL));
+ `compatible with Node.js 9 and above.${os.EOL}`));
}