From e35acedca5d7baa7baa5e0e0399214f3ddbd194f Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 26 Nov 2017 17:51:21 +0900 Subject: [PATCH] test: refactor using template string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use template string where it's appropriate. PR-URL: https://github.com/nodejs/node/pull/17314 Reviewed-By: Daijiro Wachi Reviewed-By: Vse Mozhet Byt Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca Reviewed-By: Gireesh Punathil Reviewed-By: Jon Moss Reviewed-By: James M Snell --- test/abort/test-zlib-invalid-internals-usage.js | 4 ++-- 1 file 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 c076c7df5e4410..c218a5ee956f19 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}`)); }