Skip to content

Commit

Permalink
test: refactor using template string
Browse files Browse the repository at this point in the history
Use template string where it's appropriate.

PR-URL: #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>
  • Loading branch information
kt3k authored and MylesBorins committed Dec 12, 2017
1 parent 0b14488 commit e35aced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/abort/test-zlib-invalid-internals-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`));
}

0 comments on commit e35aced

Please sign in to comment.