Skip to content

Commit e35aced

Browse files
kt3kMylesBorins
authored andcommitted
test: refactor using template string
Use template string where it's appropriate. PR-URL: #17314 Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 0b14488 commit e35aced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/abort/test-zlib-invalid-internals-usage.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ if (process.argv[2] === 'child'){
1313
assert.strictEqual(child.stdout.toString(),'');
1414
assert.ok(child.stderr.includes(
1515
'WARNING: You are likely using a version of node-tar or npm that '+
16-
'is incompatible with this version of Node.js.'+os.EOL+
16+
`is incompatible with this version of Node.js.${os.EOL}`+
1717
'Please use either the version of npm that is bundled with Node.js, or '+
1818
'a version of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) that is '+
19-
'compatible with Node.js 9 and above.'+os.EOL));
19+
`compatible with Node.js 9 and above.${os.EOL}`));
2020
}

0 commit comments

Comments
(0)