test: improve to use template string

PR-URL: https://github.com/nodejs/node/pull/18097
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
sreepurnajasti authored and Myles Borins committed 2018-02-27 00:43:25 -05:00
1 parent 8f9362d6e8
commit 2004efded8
31 files changed
+50 -53

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ function parent() {
assert.strictEqual(
code, exit,
`wrong exit for ${arg}\nexpected:${exit} but got:${code}`);
console.log('ok - %s exited with %d', arg, exit);
console.log(`ok - ${arg} exited with ${exit}`);
});
};